N4 film authoring
Create, validate, review, and export an editable N4 film.
N4 renders editable video projects from NCF scenes, a composition index, and media assets. A single
.nothingscene can also open on its own.
Start, edit, and review a film
Run these commands from a built or buildable N4 checkout on an Apple Silicon Mac. See the setup for dependencies.
just host-native
export N4_BIN="$(pwd)/target/debug/n4"
work=$(mktemp -d)
"$N4_BIN" init "$work/film"
cd "$work/film"
"$N4_BIN" validate .
"$N4_BIN" inspect .The generated film opens on a blue bead, pulls back across nine motion studies and cuts to a close-up of the type, then places an editable word on V1, a bouncing period on V2, and a muted tap on A1. Its cover samples frame 0 of the base scene. The generated README.md, AGENTS.md, llms.txt, and project skill explain how to edit and review it. The timeline owns the timing of its rows. Each .nothing scene owns its artwork, keys, and any cuts inside it. For a larger example, copy Route Card.
A placement such as [0,64) V1 map.nothing plays map.nothing for frames 0 through 63. A placement can also name a nested composition folder. Editing a shared scene changes every use. Duplicate the scene and retarget one row to edit artwork for just that use. Asset paths are relative to the file that names them.
Keep the #timeline 0.9 signature on line one when editing a timeline that has it. A format migration is the operation that changes the signature. Timeline format version
A plain rectangle turns around its center. Use its geometry registration to choose the edge that holds during a width or height edit. Place and turn artwork
Write marker music-in at 42f "Music enters" for a ruler cue, or marker review range [42f,76f) "Check the mix" for a span. Put a cue in the nested timeline that owns it so each use maps its time through the relevant in-point. Marker syntax
Validate again after editing. Choose frames that show the change and inspect the images before exporting. The frames below sample the starter’s opening, landing, bounce, and end. Use a fresh review directory for each pass.
"$N4_BIN" validate .
review=$(mktemp -d)
"$N4_BIN" render . --frames 0,24,47,65,72,88,107 --out "$review/frames"
"$N4_BIN" export . --out "$review/film.mp4"Author a project cover
Edit the starter thumbnail.nothing or add one beside an existing project's composition.timeline or standalone scene. A cover is optional and has its own viewport and clock. Electron Recent Projects shows frame zero and can animate the cover on hover. Check the cover directly and sample a later in-range frame if it animates. Project cover convention · Route Card cover
"$N4_BIN" validate thumbnail.nothing
review=$(mktemp -d)
"$N4_BIN" render thumbnail.nothing --frames 0 --out "$review/cover"Reference
- Hinge Study, an animated transform reference with editable NCF examples and on-screen source
- Route Card with vertex and contour attachments across two timeline uses
- Tide Table with shape bounds and independently animated attachments
- Night Glass with layered paints, exact-time keys, and live text cutouts
- Signal Atlas nested scenes and camera cuts
- UI Assembly perspective camera cuts and a close-up focus pull
- Bundled starter film
- Timeline syntax and relative references
- Published NCF manual for artwork, masking, animation, and exact time
- NCF specification in this repository
- Python SDK for generated artwork and validated writes
- Headless edit-session commands
- Editable examples
- Asset provenance