A story is a few lines of Python
start_scene picks a scene from the library, beat names a moment the drawing reacts to, and text adds a line.
The kit works out how long each line stays up: 1 s plus 0.3 s per word once it has fully appeared, and never less than 1.5 s. A timeline check runs before rendering and a QA report after it.
TITLE = "Rain Check"
start_scene("class", "cut to the note")
text("t1", "Every day, she sat two rows ahead.", 84, "hook")
start_scene("note", "next morning", tr="dissolve", dur=0.25)
beat("unfold", 0.05)
text("a", "Then one day, a note.")
text("n1", "Walk me home?", 140, hand=True, extra=0.6)
start_scene("street", "cut behind them")
beat("walk"); beat("run", 1.0); beat("meet", 3.4)
text("b", "So I did.", 72, extra=2.4)
start_scene("back", "end"); beat("go")
text("c", "Every day after.", 96, extra=1.6)