vaweGitHub

Agents write it. It looks made. It renders fast.

vawe is an open-source framework that renders one HTML page to an MP4. Its features: a command line an AI coding agent can drive step by step, 130 video components and 46 easing curves to build from, motion blur and a virtual clock, so the same page gives the same frames on every render.

Agents write it well.

A film is plain HTML, and each command tells the agent what to run next.

a real agent session, trimmed with …
bin/vawe new ax-demo --request "A 6 second sting for Ember coffee…" --defaultswrote films/ax-demo/page.html, films/ax-demo/brief.md and …/directions.html--defaults: details guessed, not asked: subject, message, show, assets, endingnext: bin/vawe refs list, bin/vawe refs frames <id>, Read the frames at full size, …vawe: new ok in 0.1sbin/vawe dev films/ax-demo/page.html✓ out/ax-demo-draft.mp4: 180 frame(s) at 30fps, 960x540 (16:9), 0s-6.00s@0.7s static window 0.7-2.6 s (1.9 s, limit 0.5 s): nothing moves; give the hold an element motion …next: bin/vawe frame films/ax-demo/page.html --cuts and Read every cut at full size; …vawe: dev ok in 18.1sbin/vawe critique films/ax-demo/page.html- no-settle: S1 h1 "Say the one thing" is still moving at 7.9 px/f when the shot ends [f89 (2.97s)]. Fix: end the move 4 frames before the cut, …next: look at the sheets above, or start a critic session with bin/vawe critique films/ax-demo/page.html --freshvawe: critique ok in 20.6s
  • Plain HTML, no private format

    A film is films/<name>/page.html plus an assets folder. CSS, Web Animations, SVG, canvas and three.js all work. If something an agent would naturally write fails, that is a bug in vawe. The page contract.

    page.html
    <meta name="duration" content="12.4">
    <html data-aspect="16:9">
    <!-- CSS @keyframes, element.animate(),
         SVG, canvas, three.js -->
    <script>window.seek = (t) => draw(t)</script>
  • Every command names the next step

    Each verb ends with a next: line, and each check names the problem, the second and the fix. The agent never guesses the next command.

    a check, with its fix
    @0.7s static window 0.7-2.6 s (1.9 s, limit 0.5 s):
    nothing moves; give the hold an element motion
    instead: put one element move in every span that
    sits still over 0.5 s (type a line, tick a counter,
    pass a glint), never a camera drift
  • An agent reads vawe directly

    The site serves the guide as llms.txt and markdown. Six skills carry the parts an agent gets wrong: html-to-video, vawe-brief, vawe-page, vawe-critique, vawe-transitions and vawe-reference. How an agent writes the page. To change a film by hand, open it in the studio.

    plain files
    /llms.txt
    /ai-agents.md
    /llms-full.txt
    /moves/index.json
    /moves/<name>.md   // one per move

It looks made, not generated.

Copy a proven video component, let the renderer film it, and let a fresh session judge.

  • 130 video components and 46 easing curves

    The video components sit in 7 groups. Each is a clip and one markdown file with the snippet and its sound cue. Every curve copies as CSS. 15 recipes chain video components into a film type. Browse the video components, the curves and the recipes.

  • Real motion blur and a lens

    A final measures how far things move and takes 1–32 subframes per frame, so a fast move smears and a still frame stays sharp. One lens shader then films the screen: depth of field, bloom, grain and ten named looks. Looks and blur.

  • A fresh session judges; the owner approves

    A pass is never self-recorded. The critique runs in a session that did not write the page, and ship refuses until the owner approves the full draft.

    the gate
    bin/vawe critique <page>
    // in a session that did not write the page
    bin/vawe critique <page> --fresh
    // a separate headless session scores
    /vawe-approve
    // only the owner runs it; ship refuses without it

Fast drafts, exact re-renders.

A 2 s slice of a 12 s film re-rendered in 6.8 s. The whole draft took 23.1 s.

colour-sting, 5 s film, whole draft24.9 s
moth-photogram, 12 s film, whole draft23.1 s
moth-photogram, seconds 4 to 6 only6.8 s
bin/vawe dev wall time, measured 2026-10-14 on an Apple M4 laptop (10 cores) with other renders running. Your numbers will differ; the ratio is the point.
  • Drafts at half size

    A draft is half size at 30 fps, with the audio mix, for a quick look. Only the final adds motion blur.

    two renders
    bin/vawe dev  <page>   // half size, 30 fps, audio
    bin/vawe ship <page>   // 60 fps, blur, audio
  • Parallel slices, the same pixels

    The clock is replaced before the page runs, so a frame does not depend on the others. The renderer captures fixed 60-frame slices at once, and a test renders pages twice and compares every frame. How that works.

    60frames per slice, for any worker count

  • Re-render only the seconds named

    The critique names the seconds to fix. --from and --to render just those seconds into their own file.

    a partial draft
    bin/vawe dev <page> --from 4 --to 6
    ✓ …-draft-4-6.mp4: 60 frame(s) at 30fps, 4s-6.00s
    time: capture 3.2 s · checks 1.0 s · encode 0.8 s
CINDRE, a 10 s perfume film. One page, rendered by vawe.

Write your first page

Run the loop on a six second sting.