Skip to main content

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

FlagWhat it does
--htmlPath to a seekTo film HTML file (provide this OR --scene)string
--sceneDeclarative SceneSpec — file path or inline JSONstring
--brandBrand profile — file path or inline JSON (same semantics as render)string
--dataJSON data for $data.* tokens — file path or inline (same semantics as render)string
--runtimeWith --html: bundle GSAP + the cleya.scene(tl) bridgestring · one of gsap
--durationFilm duration in seconds (optional — scenes use their spec duration; html films are read from their own CLEYA.duration)string
--fpsFrame grid for stepping/readouts (default 30)string
--widthFilm canvas width in px (default: scene size, else 1920)string
--heightFilm canvas height in pxstring
--no-openWrite the scrub page without opening the browserboolean
--outputScrub page path (default <film>_scrub.html next to the film)string
--overwriteOverwrite output file if it existsboolean

Category: perception — instruments — measure what was rendered (WCAG contrast, alignment, brand conformance, copy claims, pixel diff)

Generated from the toolkit

Generated from cleya capabilities, the toolkit's own manifest, so it cannot drift. Run cleya scrub --help for the same information in your terminal.