Referenced from SKILL.md
SKILL.mdView in source ↗
Source excerpt starting at line 271.SKILL.mdView in source ↗| **Frame sequence** | `saveFrames('frame', 'png', 10, 30)` — 10s at 30fps | Then `ffmpeg -i frame-%04d.png -c:v libx264 output.mp4` || **MP4** | Puppeteer frame capture + ffmpeg | `bash scripts/render.sh sketch.html output.mp4 --duration 30 --fps 30` || **SVG** | `createCanvas(w, h, SVG)` with p5.js-svg | `save('output.svg')` |
Source excerpt starting at line 493.5. **Headless export** — `node scripts/export-frames.js sketch.html --frames 300` for automated frame capture (sketch must use `noLoop()` + `_p5Ready`)6. **MP4 rendering** — `bash scripts/render.sh sketch.html output.mp4 --duration 30`7. **Iterative refinement** — edit the HTML file, user refreshes browser to see changes