cleya scrub
Open a film in the director's chair — a self-contained scrub page (timeline with hover-scrub, play/loop, frame-stepping, time/frame readouts) around a --scene spec or a seekTo/GSAP --html film. Zero rendering: the film plays live via window.CLEYA.seekTo, so what you scrub is exactly what render captures. Writes ONE portable HTML file and opens it in the default browser.
Cost: instant — writes one self-contained HTML page (no rendering, no Chrome, no server); the human-judgment handoff after a take is delivered
cleya scrub --html film.html --runtime gsap --duration 30
Options
| Flag | What it does | |
|---|---|---|
--html | Path to a seekTo film HTML file (provide this OR --scene) | string |
--scene | Declarative SceneSpec — file path or inline JSON | string |
--brand | Brand profile — file path or inline JSON (same semantics as render) | string |
--data | JSON data for $data.* tokens — file path or inline (same semantics as render) | string |
--runtime | With --html: bundle GSAP + the cleya.scene(tl) bridge | string · one of gsap |
--duration | Film duration in seconds (optional — scenes use their spec duration; html films are read from their own CLEYA.duration) | string |
--fps | Frame grid for stepping/readouts (default 30) | string |
--width | Film canvas width in px (default: scene size, else 1920) | string |
--height | Film canvas height in px | string |
--no-open | Write the scrub page without opening the browser | boolean |
--output | Scrub page path (default <film>_scrub.html next to the film) | string |
--overwrite | Overwrite output file if it exists | boolean |
Category: perception — instruments — measure what was rendered (WCAG contrast, alignment, brand conformance, copy claims, pixel diff)
Generated from cleya capabilities, the toolkit's own manifest, so it cannot drift.
Run cleya scrub --help for the same information in your terminal.