Stained Glass — Style Prompt

A medieval stained-glass window seen from inside a dark stone hall, alive only where the sun touches it: light is the clock, the camera and the story. References (grammar only): the window prologue of Beauty and the Beast (1991) (chapters pane by pane, a storyteller's pace); the glass knight of Young Sherlock Holmes (1985) (glass that cracks and recombines piece by piece); 12th–13th-century Chartres glass (colour logic, grisaille, leading). Copy none of their characters, compositions, subjects or music.

1. Essence, and what it is not

Not vector art with black outlines, not a kaleidoscope or Voronoi filter, not Tiffany Art Nouveau, not mosaic (mosaic reflects; glass transmits).

2. Materials & rendering

One formula for everything (a WebGL compositor), so every element sits in the same light:

glass   = tonemap( backlight(x,y,time) × transmittance × glass texture ) + weathering haze × room light
surface = albedo × (room ambient + glow spilled from lit panes + point lights)          // stone, lead, iron
floor   = flagstones × (ambient + projected colour-patch map, blurred + halo)            // perspective or top-down
+ additive light shafts with dust · bloom (bright glass eats into the lead: the "irradiation" effect)

3. Colour logic

4. Type & subtitles

5. Motion quality

6. Camera grammar

A vocabulary, not a route. Opening and ending come from the topic.

Move Expresses Can serve
Truck sideways with the band of light Time passing, the story moving on a sequence of steps; a day; chapters
Locked close-up on one pane This panel is "now" a line being read; a character's decision; a detail
Pull back to the whole window The rule, or the whole story at once learning the system; a summary; aftermath
Tilt down the shafts to the floor, then top-down The picture leaves the glass and becomes light an event too big for its frame; a dream; a memory
Hold through a crack, no cut The event is the medium breaking a turning point; a loss; a revelation
Slow push toward a small light Attention narrowing to one source a discovery; a secret; hope
Tilt up to a rose or tracery Something above the panels governs them a clock; a cycle; an overview
Rack between two panes, one lit, one dark Past and present side by side before/after; two lives; cause and effect
Low angle along the embrasure, glass raking The window as architecture, scale awe; an institution; a long history
Return to an earlier framing under new light The rhyme shows what changed growth; nightfall; repair

Framing: subjects big (close-ups ~1.3–2.3× a lancet width); in a narrow lancet stack figures diagonally; a revealed thing near centre, ≥ ~1/8 frame width with glow. Transitions: moving light, shafts, a crack, darkness; never a dissolve, wipe or flip.

7. Sound palette

8. Native moves

A menu: use the ones your story needs.

9. Pitfalls of the medium

10. Engine

In demo/: glass.js (pieces, textures, lead, grisaille, lozenges), comp.js (WebGL2 compositor), window.js (lancets, rose, borders, wall, carving), scene.js (camera, floor projection, shafts, dust), subs.js (banderole), test.js / frames.js (model sheets and style frames from the real engine), music/score.py, mix.py (glass/lead foley). knight.js / dragon.js show the rigid-piece FK rig pattern; build your own subjects with it.

11. Variation space

You decide the window (lancets, a rose, a medallion, a clerestory), the subjects, the order of light, opening, ending, camera path and pacing. All far from our demo:


How our demo was made (story, shots, score, end card, build): DEMO.md. Read it after your treatment exists.