vectojs-video-exporter
Installation
SKILL.md
VectoJS Video Exporter
Use this skill to export VectoJS canvas scenes to deterministic MP4 files through Chromium and FFmpeg.
Export workflow
- Confirm
ffmpegwithlibx264is onPATH. - Confirm Chromium resolution:
PUPPETEER_EXECUTABLE_PATH, system Chromium, or Puppeteer’s browser. - Ensure the rendered page exposes
window.vectoScenewith callablestop()andstep(dt). - Keep animations deterministic: use
Scene.step(dt), seeded randomness, and no wall-clock/network dependence. - Choose local module or hosted URL input.
- Use cancellation with
AbortControllerfor API calls or signals for CLI jobs. - Verify the output frame count and existing-file preservation on failure when release quality matters.
Read references/export-recipes.md for CLI/API snippets.