Stained glass animation with Claude Code
Cut glass, lead lines and glowing light come together as a stained glass animation in Claude Code. Claude writes every shot as pieces of cut glass in code, and HyperFrames renders the scenes to MP4. There is no video model. ReelStyles sells this look as a ready kit, so the glass, lead and light rules are written before Claude draws a single piece.
This guide gives the rules of the look, the steps, a prompt to paste and the styles that sit next to it.
What makes the stained glass look
The film is a leaded window seen from inside a dark stone hall. Glass has no light of its own. It burns jewel-bright only because the light is behind it, throws a coloured patch onto the flagstones and fills the air with dusty shafts.
Each piece is cut glass in a near-black lead came, with a gradient, a streak or bubble texture, painted matting toward the lead and brown lines of paint. The only highlight is a pale scrape on the light side. That is what separates glass from flat colour.
The palette is jewel colour: cobalt #1E4AA8, ruby #B21E30, gold #E8AA2C, amber #D67224, emerald #1C7A52, murrey #6C285C, a sky blue #56A0D6 and a night blue #121E60. Stone for the hall is #8E8C98.
One shot is one picture cut across a triple lancet, three tall panes of 340, 460 and 340 px. The hall frames it. The wall is far and slow, the window and sill sit in the middle, and dark columns, an arch or candle stands in front move faster. Frame 0 is already fully lit, and nothing fades in.
The look is secular, so there are no crosses, saints or halos. It is not outlined vector art and not mosaic.
Each shot picks a grade for the colour of the light behind the glass: dawn blue, day white, gold for the payoff, dusk orange, moon-blue night, storm grey-blue, or candle for a dim room lit by fire. Dark moods stay dark and stay readable.
Captions are a parchment banderole at the bottom, unfurling from the centre, set in Cormorant at 54 px. Titles are capitals incised in stone.
Steps in Claude Code
1. Plan first
Plan a 20-second stained glass film about a shepherd girl who finds a lost lamb at dusk. Five shots, each one picture across the three-pane window, a grade from dusk to night to gold. One parchment caption of at most four words per shot. Show me the plan before any code.
2. Build one scene and check stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
Check the lead lines, the coloured patch on the floor and the shafts of light. Is the hero inside one pane? Is the caption clear of the glass picture? Fix shot one first.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Silent works well here, but for a narrator see how to add a voiceover.
A prompt to paste
Make a 25-second stained glass animation, framed for 9:16 vertical, about a lighthouse keeper climbing a spiral stair at night. Cut glass in near-black lead, cobalt and gold, a pale scrape highlight on each piece, grisaille lines in brown. The light sits behind the glass and throws a coloured patch on the stone floor with dusty shafts. Grade from moon-blue night to a gold payoff when the lamp lights. Dark columns in front moving faster than the wall behind. One parchment caption per shot, four words at most. Plan first, then show me stills of shot 1.
For a warmer scene, swap the lighthouse for a village feast and use the candle grade.
Which styles come closest
| Style | Why it fits |
|---|---|
| Stained glass | The direct version: jewel glass lit from behind in a stone hall |
| Illuminated manuscript | Medieval gold, colour and parchment pages |
| Art nouveau poster | Ornamental frames and decorative colour |
| Paper-cut lightbox | Layered cuts with light glowing from behind |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
Glass shapes need clear, simple outlines, so fine detail and busy crowds do not fit. Faces stay stylised. The window format limits how wide a scene can feel, so big landscapes read best as a few strong pieces.
Questions
Does it work for Shorts?
The shipped example is wide, not vertical. 9:16 works by asking for it in the prompt, but the triple lancet is wide, so expect to crop to one or two panes and check the stills.
Do I need to know glasswork?
You don't. The kit carries the lead, grade and light rules. You review stills and say what to change.
Can I make it religious?
The kit is secular, with no crosses, saints or halos. Stories about people, places and craft suit it best.
Sources
HyperFrames on GitHub (Apache-2.0). See the Stained glass style page for the example film.