Skip to content

sketches

Coded animation sketches. One independent branch per piece. 2D canvas by default.

Experiment · Active · 2026 · Updated

Canvas, JavaScript, Animation

Source (external)

Coded animation sketches. One independent branch per piece. 2D canvas by default.

See the public repository below for setup, usage, and current development status.

README · on GitHub (external)

sketches

A sketchbook of coded animations. Each piece is its own orphan branch, with its own history. main keeps this index and the command that starts a piece.

Start a piece

Run this from the main checkout.

./new-piece lighthouse-sunset

That creates branch piece/lighthouse-sunset and checks it out at .pieces/lighthouse-sunset. Open .pieces/lighthouse-sunset/index.html in a browser. Commit further changes inside that folder. They stay on the piece branch.

Come back to a piece

git worktree add .pieces/lighthouse-sunset piece/lighthouse-sunset

Put a checkout away

git worktree remove .pieces/lighthouse-sunset

The branch stays. .pieces/ is local only and is not committed.

Where the tools live

CLAUDE.md is the map. stacks/ holds one note per way of making a picture: canvas, mosaic, three, blender, and film. kits.md lists outside references. Those notes stay on main. A piece names its stack in brief.md and does not copy them onto its branch. Do not clone a toolkit into this repo.

House style

One index.html per piece, unless the stack note says otherwise. Draw every frame from time t. The picture at t = 0 matches the picture at the end of the loop. Add a library only when the piece needs it. Keep the idea, the timing, and what you want to change in brief.md.