7. Status and roadmap
Work is tracked in GitHub issues labeled vnext. This
chapter lists what is built and what is next; measurement history is in
../background.md.
Built
Delivery: BT.709 conversion and tags (a player saw up to 4.4 levels of hue error before); loudness targets measured in hd (
explainer−15.9 LUFS for −16,footage−23.0 for −23, by ffmpeg'sebur128); VideoToolbox H.264/HEVC (fx-0359 fps against 280 for x264); ProRes and VP9 alpha; andnippo deliver, which checks the encoded file and caught the BT.601 export when it was put back (overlayis the alpha project).Milestone 2 showcase (
kinetic): a recipe wall springing in by distance from the center, a whip pan, a comet withClip.trailunder a glow, cards with per-clip motion blur behind a sharp title, a page curl to a glass end card (150–155 fps).text_inside_safe_areaskips samples inside transition overlaps (Clip.transition_spans); text leaves the frame there by design.Quality and cost:
effect_scaleand--draftdraw effects at reduced resolution (social167 → about 205 fps); thecostsproject measures every recipe over one frame (chapter 4's table).smearbecame a two-pass box, which took the whip pan from 88 to 155–194 fps.Glass, patterns and audio-reactive drivers (
surfaces: glass over an aurora, a ring stepping on onsets, a seeded scatter rippling in, beads along a path, a level meter; 110–146 fps). Scope regions honor clips.Transitions (
transitions): whip pan over a directionalsmear, film burn, prism split and page curl, each aTransition.Withinpkg.transitions(202 fps over the lab).Linear light for effects: with
ColorPipeline::LinearToSdr, load decodes sRGB, effects (blur, glow, masks, shaders) work in linear light, and store encodes it again;working(c)converts color parameters anddisplay(c)grades as displayed (the film finish). Vello's own vector blending stays sRGB. fx-1 309–321 fps.Text morphs: matched words glide, the rest fade, exact ends (
sentence);shift_wordsmoves words after layout.Math: Typst formulas typeset by a dev task into retained SVGs, imported as outlines (
formula).Still images: PNG and JPEG prepared with header sizes, registered once per render.
Footage: probe once, decode forward per draw slot through ffmpeg, upload into a texture; picture on any clock (retime, slow motion, several times of one file in a frame); sound as an audio clip; onset analysis from the file's sound (
footage: 213–243 fps with two 960×540 decodes a frame).SVG import in hd: shapes, paths, transforms,
use, gradients and ids; draw-on by path length; per-part edits by id (diagram).Pinned fonts: Inter and JetBrains Mono in
fonts/, checked by hash and registered with the shaper; renders no longer depend on the machine's fonts.Clips, local time as a
$ Framerequirement, word reveals and styles, echo, speed, fades, series and parallel placement.first-lightrenders end to end.Vello rendering with one GPU submission a frame, a readback ring and a bounded x264 writer.
nippo profile NAME --at MS --until MS --every MS: a render split into stretches, each with its time a frame in hd, native CPU, GPU wait and encoder wait.GPU shaders with user WGSL, blend modes, alpha masks and the looks library (glow, shadow, sweep, card flip, ink and liquid reveals, luma mask, film finish). The
effectsproject is the lab.Geometry nodes, and particles as library code over them: dots, sparks, confetti, dust, and particle assembly from any fill, text included (
assembly).Bar charts with keyed marks (
data-story, in three aspect ratios).Code: a lexer, highlighting, morphs by token correspondence, and source focus (
walkthrough).Narration: recorded speech replayed by hash, voiceovers with cues and word timing, and captions with SRT and WebVTT export (
explainer).hd run record_speechrecords missing segments: withELEVENLABS_API_KEYset, through ElevenLabs'with-timestampsendpoint (pkg.tts: character times grouped into words, confidence 1, timing "aligned by ElevenLabs";ELEVENLABS_VOICEpicks the voice); otherwise with macOSsay, with word timing estimated from syllables (confidence 0.6).Backgrounds (aurora, grid), neon titles and lower thirds, keyframed tracks, springs and speed ramps (
social).Checks: preflight; every pixel kernel and geometry shader used at the key times compiled once, a failure reported with the compiler's message; and every declared check at the first, last and every 8th frame: glyphs, text and captions inside the canvas or safe area, overlap, stable layout, chart labels and domain, morph endpoints and ties, captions covering speech (heard in the audio), asset failures, and identical frames when sampled in another order.
The integration gate (
gate): chapter 1'sheadlineand chapter 3'semphasized_headline, reused with other props and clocks, retimed by a speed ramp and echoed, glow and mask in both orders, a particle assembly from the title's fill, a film finish under captions that stay sharp. Shuffled-order sampling gives identical programs.Throughput:
nippo jobrenders resumable segments and joins them without re-encoding the picture, mixing the sound once. It sizes its worker processes from its own measurements:fx-0at 397–457 fps on two processes against 314–342 for one render. A rerun with nothing changed finishes in 0.3 s. The shaping cache and the live footage decoders are bounded, and a frame's footage is asked for in one batch:wall, nine footage tiles at once, renders at 86–116 fps.Shot packs:
pkg.solidmeshes (extruded outlines with holes, lathed profiles, painted corners), fitted framing and a lit material, over a geometry draw with depth and 4× multisampling.productsturns a labeled bottle and swings in an extruded title at 259–281 fps, encoder-bound. Its delivery check found textures drawn by geometry going stale in Vello's copy: particles had shown old frames since they landed (fx-particles2.67 levels off at 22 s); draws now mark their targets changed.The
showcase: every part of nippo in 42 s, seven scenes cut on the bars of a 120 BPM score written withpkg.synth, with beat-reactive parts driven by the same notes. It delivers at -13.9 LUFS with a -1.1 dBFS peak and renders at 38–60 fps, GPU-bound under a full-frame film finish.construct, Particle Construct: a 58 s film built to a full design spec (docs/design/showcase/particle-construct.md), nine scenes on a design system inexamples/construct/kit.hdand a score in code. It delivers at 207 fps (1740 frames in 8.4 s, 567 repeated; the GPU busy 0.87 s), encoder-bound. Scene 08's race readsbench/construct-race.jsonfrombench/race.pyand shows placeholders until a measured run exists.bench-showcasekeeps the 42 s first cut, whichbench/remotionrebuilds.
All twenty-six projects render and pass their checks.
In progress
- Shaders are the one pixel primitive (done):
shader(wgsl, inputs, params, extent)replacedFx. Blur, wipes, luma masks and transitions are library code. Stroke styles, fill rules and path clips are in. - Thin native (done):
pkg.planorders scopes, reuses identical ones, packs atlases and pools textures;pkg.shadingholds the kernel frame, whose first pass reads the atlas and last writes the 8-bit result. Native runs the command list of chapter 5. - Vello stays as the 2D rasterizer; chapter 5 lists what would reopen that.
- Geometry (done): render pipelines and storage
buffers in native;
geometrynodes, and particles (dots, sparks, confetti, dust) as library code over them. Geometry draws straight into a premultiplied 8-bit texture that Vello draws.
Performance gates
Measured at 1,320 frames of 1080p with x264 veryfast on
an M3 Max. Every rendering change is measured before and after.
| Project | Current |
|---|---|
fx-0 (no effects) |
328–342 fps, encoder-bound |
fx-1 (one glow) |
310–313 fps |
fx-3 |
306–333 fps |
fx-nested (glow inside shadow) |
291–322 fps |
fx-particles (no effects, about 960 particles) |
278–284 fps, against 330–335 for fx-0 in the same
runs |
gate (324 frames: four glows, two masks, echoes, 3,200
particles, film finish) |
257–297 fps, against 301–319 for first-light in the
same runs |
Planning in hd costs about 0.05–0.1 ms a frame more than the Rust version did (317–327 fps nested); runs vary by about 5%. Particles add about 0.1 ms of hd per frame, a little GPU time, and Vello's copies of three override images.
Scenes without effects stay within 5% of the vector-only path. Measure preparation, hd evaluation, GPU passes, readback, encoding, finalization, worst-frame latency and peak memory separately as well as the full export.
Next
style_words(scale=...)scales a word about its center without reflow, so a long emphasized word can close the space before it. A spacing-aware emphasis is a recipe to add, not a change to the primitive.socialis GPU-bound at about 150 fps: its film finish takes the whole portrait frame, aurora included.- Solids: bevels on extruded edges, image textures on meshes, and shadows cast by one solid on another.
Milestones
Milestones 1 and 2 have met their exit conditions. Milestone 2's
showcases are kinetic, surfaces,
gate, social, assembly,
sentence, footage and diagram.
Its recipes are in pkg.looks, pkg.transitions,
pkg.surface, pkg.patterns,
pkg.particles, pkg.reactive and the clip
operations (echo, trail, motion blur, speed). Quality and cost are the
effect_scale knob and chapter 4's cost table. Milestone 3
has met its exit condition. Its parts are delivery profiles (color,
loudness, hardware codecs, alpha, nippo deliver), resumable
jobs with measured concurrency, and bounded caches and decoders. The
optional shot packs are built: turntable and the extruded
title in pkg.solid, shown in products. Every
milestone has met its exit condition.
| Milestone | Exit condition |
|---|---|
| 1. Most explainer videos need nothing else | Prepared fonts and assets; local time and cues; narration and word captions; code and text morphs; basic charts, diagrams, math and SVG; footage and audio analysis; aspect variants; checks, stills, sheets and inspection. The library has masks, glow and sweep, organic reveals, titles and lower thirds, backgrounds, sparks, a card flip and a film finish. All four example projects render. |
| 2. Professional motion library | Eight showcase clips and 20–30 recipes from reusable operations: glass and prism, liquid, film burn, whip and curl, particle assembly, replication, trails and echoes, selective motion blur, audio-reactive and film treatments, with quality and cost profiles. |
| 3. Throughput and delivery | Profile-driven concurrency, bounded caches and media batching, hardware codecs, tested alpha, loudness and color profiles, resumable jobs. |
| Optional shot packs | Product turntables and extruded titles with bounded framing and materials. |
Open questions
Polish consumes real effort: readable holds, multilingual shaping, short-duration behavior, edge treatment, aspect variants and useful defaults matter as much as adding an operator. Temporal effects multiply sample requests and memory pressure; publish bounded quality levels and diagnose excessive work. GPU comparisons need declared tolerances, while prepared assets and semantic timing can have stronger identity guarantees.
Prototype the remaining decisions: subframe behavior of legacy index-based functions; persistent callback identity and captured-props hashing; semantic capabilities after image processing; memory budgets and cache eviction; decoder-surface interoperability on the first platform; and the selected color/alpha boundary. Keep ordinary callbacks legal when an optimization cannot prove their dependencies.