xray-scroll

Installation
SKILL.md

X-ray scroll film

The reference film at nine points on the scroll

Zero-config: a single merged coffee-machine mesh, split and assembled Phone

path what
template/engine.js renderer, x-ray + glitch shaders, model normalising/splitting/staging, tracker HUD, scroll plumbing. Shared: change it here, then scripts/sync-engine.sh
template/film.js the storyboard: one 100-unit GSAP timeline. Per film, edit freely
template/index.html page + window.XRAY config + chapter captions + HUD words (EDIT markers)
template/styles.css HUD, captions, loader. Shared like the engine
examples/shipment/ the reference film: Ferrari 458 (three.js example model, loaded from its repo) with a hand-mapped build order
scripts/new-film.sh <dest> <model.glb> scaffold a film and print the model's node names
scripts/glb-parts.mjs <model.glb> node tree with the names three.js will use (sanitised, de-duplicated) — what stage regexes match against
scripts/shot.mjs <dir> <out.png> [p …] headless Chrome with the GPU: screenshots at timeline points (?p=), tiled into a contact sheet, page console printed. No npm deps (Node 22+, Chrome, ffmpeg)
scripts/serve.mjs <dir> [port] static server (file:// can't load modules or the GLB)
references/config.md every window.XRAY field, and how staging/splitting/tracking resolve
references/film.md state keys, timeline helpers, effect recipes, the reference storyboard beat by beat, and traps. Read before editing film.js
Installs
4
GitHub Stars
8
First Seen
Nov 11, 2026