Tsukimichi: The Lantern Stair
README.md
transitions
How one shot hands over to the next in a filmRig film. Cover transitions (fade, fadeWhite, dipToColor, flash, iris, blinds, pixelate, panelWipe) are drawn here every frame at the coverage the film clock says, so the cut always lands under full cover at any frame rate, a paused film holds them, and a frame-by-frame recording matches live play. Blend transitions (dissolve, blurDissolve, wipe, wipeLeft, wipeRight, wipeUp, wipeDown) show both shots at once: a second camera keeps filming the outgoing shot into a render texture that is drawn over the new shot and faded or wiped away, driven from the film clock every frame so it stays in step at any frame rate. blurDissolve also blurs both pictures out and back into focus around the crossfade. The overlay waits until the blend camera has drawn into its texture, so no frame of an empty texture ever reaches the screen; the camera and texture are pooled and reused. cut does nothing. Every transition swaps with one word: the shot's transition.
Transitions.run(name, dur, ctx), Transitions.cover(name, dur, opts), Transitions.blend(...), Transitions.leadTime(name, dur), Transitions.clear(). Called by filmRig.Film, which schedules them on the cutscene's cues.