scaffold-sketch
Installation
SKILL.md
Scaffold a generative sketch
Set up a clean, reproducible starting point. Confirm the two choices (or pick the default and state it), then build.
Choices
- Setup:
vite-p5(Vite + p5.js, default — best DX) orvanilla(single HTML, p5 via CDN, zero build). - Mode:
static(one-shot image, re-roll on click — default) oranimated(loop).
Vite + p5.js (default)
npm create vite@latest my-sketch -- --template vanilla
cd my-sketch
npm i p5
src/sketch.js — instance mode, seeded, re-rollable:
import p5 from 'p5'