Source to living motion on local WebGPU.
Ritween is a local-first, code-authored video framework. AI coding agents and developers write
deterministic WGSL scenes, NPR shaders, and procedural audio tracks that render and mux directly to
.mp4 on your machine.
Core Features
Seekable render(time) GPU scenes, 48 kHz managed Web Audio mixing, hardware WebCodecs H.264
encoding, and a custom ISO BMFF MP4 muxer with local CLI export.
/ritween Skill
16 agent references covering npr.md (toon ramps, warm/cool light, shell outlines, ink
crosshatching, paper grain), vertex.md deformations, data charts, and LUFS audio balance.
Key Advantages
100% local tool with zero cloud lock-in, no DOM capture overhead, and no external FFmpeg binary. Pure TypeScript & WGSL source files that stay frame-accurate in Git.