Scene
Code
Up to 14 lines of code, written in or read straight from a file in the run, with one highlighted range per phrase after the first and the other lines dimmed. Lines starting + or - show as a diff.
When to use it
The few lines that make it work, or the diff that adds the feature.
Use it
Ask Claude for it in words (“use the code scene”), or add it to story.json yourself:
"type": "code"Claude rebuilds the video. Only the lines that changed are voiced again.
It checks a contact sheet of every scene before rendering the cuts.
Reveals, one per phrase
- The window rises and the lines print
- Each highlight in turn
Props: code* or file with lines, highlights, title, caption (* required)
Good to know
- Give file and lines to read a real file from the run instead of pasting code.
- Highlights use the file’s own line numbers, one range per phrase after the first.
- The window’s title is the file name by default.