Skip to content

Art and animation, written as code. Illustrations, loops, interactive web art, launch-videos and scored films in dozens of styles, identical on every render.

docs: token and time habits in working-method; design review and options sheets in craft-bar; alive-means-real-motion and the almond MEDIUM RECIPE in the tutorials

Alex Greenshpun5b74710e5435
diff --git a/skills/anidoodle/references/craft-bar.md b/skills/anidoodle/references/craft-bar.md
index 583ffa7..865127c 100644
--- a/skills/anidoodle/references/craft-bar.md
+++ b/skills/anidoodle/references/craft-bar.md
@@ -19,12 +19,23 @@ The test: would a proud human illustrator ship this, or is it mechanical shape-a
| The same character drawn differently shot to shot | One character module; shots pose it, never redraw it (`workflows/character-consistency.md`) |
| A silhouette filled with texture, no mouth line, no toes | Interior contours: mouth, eyelids, nostrils, toes, joins between forms (the detail pass below) |
| A drawing film where the finished picture fades in | Marks made in the medium's order; the last frames are the still (`workflows/drawing-process.md`) |
+| Words laid over the art or the UI | Type gets its own frame; corner marks step aside when the camera brings UI under them |
+| A loop playing in place and called "alive" | Real travel through a world that changes as the subject moves |
+| A hard cut or a sharp swoosh between scenes | A gentle move: a bloom, a flip, a push, the card grows into the frame |
**No dead air** in anything that moves: something visibly changes in every second, from frame 0.
Check it with the tool AND by eye: a creeping camera changes every pixel and satisfies the tool
while the eye sees a still.
+**Judge the design, not only the collisions.** A review still can have nothing overlapping and
+still fail: no hierarchy, cramped spacing, a frame that would not pass as a poster. Look at each
+review frame as a designer first, a checker second.
+
+**Preview options before full renders.** When a choice is open (a transition, a lettering
+medium, a palette), show a cheap still sheet of the options side by side and let the person
+pick. A full render per option spends the most expensive resource on the cheapest question.
+
## The detail pass (run it on every piece before showing it)
A silhouette filled with texture is not a drawing. Before any still, recreation or character is
diff --git a/skills/anidoodle/references/workflows/adapt-a-style.md b/skills/anidoodle/references/workflows/adapt-a-style.md
index b584ceb..469cedc 100644
--- a/skills/anidoodle/references/workflows/adapt-a-style.md
+++ b/skills/anidoodle/references/workflows/adapt-a-style.md
@@ -60,3 +60,22 @@ both times: charcoal and broken-colour for a watercolour, wren for a scrapbook.)
|---|---|---|---|
| a pastel watercolour backdrop (terminal UI excluded) | jagged-coast puddles, pooled rims, bare-paper rests, spatter, gouache sparkles | `adaptAquarelle.ts`, a moon jellyfish | `styles/house/pastel-blotch.json` |
| an explainer frame (Ritwika, f_10) | tidy torn pastel cards with soft shadows, typewriter, thin pen diagrams, one engraving | `adaptScrapbook.ts`, why sourdough rises | `styles/house/quiet-scrapbook.json` |
+| Van Gogh, *Almond Blossom* (1890, public domain) | short loaded oil strokes in turning patches, a broken blue-green contour laid last, thick ridged whites | `adaptAlmond.ts`, the launch film's koi in its pond | `styles/house/almond-blossom.json` |
+
+## A MEDIUM RECIPE, filled in (the almond proof)
+
+The analyzer's nearest plates were charcoal and storybook; by eye it was `paintedOil`, so the
+plate reuses the painted-oil kit and changes the mark. The recipe, as written in the plate's
+header before any code:
+
+- **MARK**: opaque oil, a loaded bristle brush, strokes about a finger long. The ground is laid in
+ small patches of strokes sharing a direction, the patches turning against each other. Forms are
+ painted along their length. Lights are thick and ridged.
+- **EDGE**: hard. A dark blue-green contour laid last with a small round brush, broken, heavier on
+ the shadow side. Nothing blended across an edge.
+- **ORDER**: the ground everywhere; forms in their mid tone; lights; the contour; the last whites.
+- **PAPER**: primed linen, the weave showing through the thinner ground strokes.
+- **PALETTE**: a narrow, high-key turquoise ground; sage for forms; cream and lead white; one
+ vermilion; no black anywhere (the darkest note is the contour).
+- **NOT**: `paintedOil` models form in depth; this hand keeps the ground flat and decorative with
+ one step of shadow. The subject is the film's own koi, never the painting's branch.
diff --git a/skills/anidoodle/references/workflows/start-here.md b/skills/anidoodle/references/workflows/start-here.md
index 26ba806..cf0e5bd 100644
--- a/skills/anidoodle/references/workflows/start-here.md
+++ b/skills/anidoodle/references/workflows/start-here.md
@@ -47,3 +47,27 @@ Stop asking the moment you can build. Two questions answered well beat six asked
One short brief file in the project: kind, style (and why), shape(s), length, sound (style +
moods), characters, the one-sentence idea. Everything the person said goes in their words.
Everything you decided is marked as yours so they can veto it in one line.
+
+## Before the first full render
+
+- **Show options as one still sheet** when a choice is open (a transition, a lettering medium,
+ a palette): three to six variants side by side, picked in one message. Then render.
+- **Review stills for design**, not only for things overlapping (`references/craft-bar.md`).
+
+## Alive means real motion
+
+When someone asks for a subject to be "alive", "swimming" or "moving", an in-place loop reads as
+a GIF. The subject travels through a world that changes as it moves, and the camera follows.
+The worked example is the koi: `koi.ts` takes an optional `KoiLive` (time, amplitude, a pose on
+a path) and `koiWorld.ts` swims it through a pond much bigger than the frame, sliding under pads
+that are placed in the world, its wake spreading from its nose.
+
+The pattern:
+1. **Add motion as an optional input** to the subject's drawing function (`live?: KoiLive`).
+ With it absent, the code path is the still, untouched.
+2. **Guard the still**: render the still plate before and after with `still.mjs` and compare
+ the md5 it prints. The still must stay pixel-identical; if it moves, the refactor leaked.
+3. **Place the world in world units**, not screen units, so the scenery changes as the subject
+ moves; let the camera follow (`references/camera.md`).
+4. **Frame 0 of the living version equals the still** (same pose, same framing), so a film can
+ hand over from the still card to the living one without a seam.
diff --git a/skills/anidoodle/references/working-method.md b/skills/anidoodle/references/working-method.md
index c551219..48c7c8d 100644
--- a/skills/anidoodle/references/working-method.md
+++ b/skills/anidoodle/references/working-method.md
@@ -40,3 +40,30 @@ Do not push through. Reset:
4. **The fresh session verifies before it trusts.** Read the files, check the disk, say what disagrees with the briefing. (Ours found that the "already built" camera was not in the source, in the first five minutes.)
A reset cost us about ten minutes because the state was in files. It would have cost the project if the state had been in the conversation. And when a message arrives truncated, look for the full text in the session transcript before you guess; twice the missing half changed the job.
+
+---
+
+## Spend tokens and time where they buy something
+
+The launch film cost 188M tokens, about 99% of them cache re-reads of one 750k-token context.
+None of that was drawing. These habits cut it by an order of magnitude:
+
+- **One session per cut, with a handover file.** When a cut is done, write the state (what
+ exists, the rules the person gave, what is open, where files live) and start the next cut in a
+ fresh session that reads it. A long session re-reads its whole history on every turn.
+- **Briefed helpers, never context-inheriting forks.** A helper gets a short written brief and
+ the few files it needs. A fork inherits the whole conversation and pays for it on every call.
+- **Contact sheets at 0.3-0.5 scale** for review (`ffmpeg -vf "fps=1,scale=576:-1,tile=4x4"`),
+ full size only for the crop a sheet raised a doubt about. Never re-read a big image you have
+ already judged.
+- **Options sheet before any full render.** Transitions, type styles, palettes: one still
+ sheet with three to six variants side by side, picked in one message.
+- **Timelines as data.** Scenes on one content timeline, the cut as a list of segments
+ (`launchCut.ts`). Re-timing edits the list; scene code and its reviews stay valid.
+- **Range renders.** `render.mjs <film> --from F --to F` renders only the passage you changed
+ (it writes `out/<film>.<from>-<to>.mp4`, never over the finished film).
+<!-- TODO(A): confirm the still.mjs multi-frame flag and the plate cache name/location once they land on integ/launch-kit -->
+- **Many stills, one browser.** `still.mjs <film> --frames a,b,c` draws several frames in one
+ page; one browser per still costs seconds each.
+- **Plate cache.** Baked plates are cached on disk, so a wall of 31 live plates stops
+ re-baking (about 60 s) on every still.