Shadow puppet animation with Claude Code
Jointed puppets lit from behind a cloth screen make a shadow puppet animation, and Claude Code can build one. Claude writes the puppets, the carved scenery and the lamps in code, and HyperFrames renders it to MP4. ReelStyles sells this look as a ready kit, so the light model and the puppet rules come with it.
Below: what makes the look, the steps, a vertical prompt and the styles that sit closest. If you're starting from zero, my animated videos guide comes first.
What makes the shadow puppet look
The picture is one formula: lamp light times the hide times the cloth. Each puppet is a flat piece of translucent dyed hide pressed against a white screen. Colour arrives by transmitted light, so dyes glow like stained glass and carved holes shine brightest. Where two pieces overlap, the picture goes darker by itself.
The dyes are warm. Vermilion #e2482a, ochre #eaa631, jade #2e9b69, indigo #2c63b5, plum #92305f and teal #2a8a95, on raw hide #f1dca8 with ink #22120a for outlines. Choose three to five dyes per film. Night means fewer lamps, never added blue.
Carving is density. Leave thin strips and cut most of the area away, using crescent scales, diamond lattice, coin rings, dot rows and leaf holes. Every region gets a dark ink outline, and every joint a rivet. Puppets have ten to twelve jointed pieces, a big head and big headwear, and sleeves in a different dye from the torso.
Nothing is ever still. The lamp flickers, puppets tremble in the hand, loose parts swing on their rivets, and scenery slides on rods. Fire and water are carved pieces shaken on a 24 fps beat, not particles. The lacquered stage frame lives in world space, so the camera can push through it onto the cloth and pull back out into the dark room.
Type has two voices only: a dark placard with a gold line and cream text at 32 px or more, and a cut-letter plaque whose letters glow.
Steps in Claude Code
1. Plan first
Plan a 45-second shadow puppet film about a lighthouse keeper and a storm. Five shots, the dyes you will use, how many lamps are lit in each shot, and one placard line per shot. Include one behind-the-screen shot. Show me the plan before you write any code.
2. Build one scene and check stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
Check the stills. Are holes the brightest part? Does the cloth look warm, never grey? Are the rods dark enough to read? Fix scene one before you go on.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Use --quality draft to check the tremble and the flicker. For a storyteller's voice, see how to add a voiceover.
A prompt to paste
Make a 40-second 9:16 vertical shadow puppet film: a tailor who sews a coat for the winter wind. Translucent dyed-hide puppets on a warm cloth screen, indigo and ochre dyes, carved lace scenery, two oil lamps that flicker. The tailor trembles slightly as he works, a loose sleeve swings on its rivet. Slow push through the stage frame onto the cloth, one placard line per shot, and a last shot from behind the screen showing the rods and hands. Plan first.
For a calmer piece, use one lamp and a single dye family, and let the final shot be the lamp carried away.
Which styles come closest
The kit has the carving vocabulary, the puppet builds and the stage frame. The nearest ready styles:
| Style | Why it fits |
|---|---|
| Shadow puppet | The direct version: lamp-lit hide puppets on cloth |
| Red paper-cut | Carved paper with light from behind |
| Paper-cut lightbox | Layered cut paper with a glowing back light |
| Stained glass | Colour that glows by transmitted light |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
It is a style for folk tales and stories, not for technical diagrams or readable small text. The text is limited to a placard and a plaque, on purpose. Crowded scenes take Claude several rounds of stills, because each puppet is ten or more pieces.
Questions
Does it work for Shorts?
Yes. The kit ships a 9:16 template as well as a wide one, so ask for vertical in the prompt and check the stills. See YouTube Shorts in 9:16 with Claude Code.
Do I need to draw the puppets?
No. Claude builds each puppet from jointed pieces in code. You approve the plan and say what to change after the stills.
Can I keep the same puppet across videos?
Yes. Write the puppet's dyes and headwear into your plan and reuse them. See consistent cartoon characters with Claude Code.
Sources
HyperFrames on GitHub (Apache-2.0). See the Shadow puppet style page for the example film.