Art and animation, written as code. Illustrations, loops, interactive web art, launch-videos and scored films in dozens of styles, identical on every render.
TypeScript agent-skillsanimationcanvasclaude-codeclaude-pluginclaude-skillscodex-plugincreative-codecreative-codingcreative-toolsdeterministicgenerative-arthand-drawnillustrationlaunch-videomotion-designmotion-graphicspluginprocedural-generationskill
chore: resync Codex mirror
Alex Greenshpunb9e3aae50302
diff --git a/plugins/anidoodle/.claude-plugin/plugin.json b/plugins/anidoodle/.claude-plugin/plugin.jsonindex 05cf441..77c9ba8 100644--- a/plugins/anidoodle/.claude-plugin/plugin.json+++ b/plugins/anidoodle/.claude-plugin/plugin.json@@ -2,7 +2,7 @@"name": "anidoodle","displayName": "anidoodle","description": "Code-drawn stills, drawing timelapses, films, explainers and interactive web animations in 31 styles, with scores composed in code.",- "version": "0.5.3",+ "version": "0.6.0","icon": "./assets/icon.png","author": {"name": "Alex Greenshpun",diff --git a/plugins/anidoodle/.codex-plugin/plugin.json b/plugins/anidoodle/.codex-plugin/plugin.jsonindex fefb62e..deb5ad0 100644--- a/plugins/anidoodle/.codex-plugin/plugin.json+++ b/plugins/anidoodle/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "anidoodle",- "version": "0.5.3",+ "version": "0.6.0","description": "Code-drawn stills, drawing timelapses, films, explainers and interactive web animations in 31 styles, with scores composed in code.","skills": "./skills/","interface": {diff --git a/plugins/anidoodle/README.md b/plugins/anidoodle/README.mdindex af85749..e29cf34 100644--- a/plugins/anidoodle/README.md+++ b/plugins/anidoodle/README.md@@ -4,6 +4,8 @@anidoodle makes illustrations, drawing timelapses, films of any length, explainers, infographics and interactive web animations in 31 hand-made styles, with original music composed and synthesized in code. Ask for a picture in plain words, match a style from your own image, recreate a photo in any style, keep a character consistent across scenes, or learn step by step how a drawing is built.+Music is composed for each piece from 21 style vocabularies, never presets, and played by a sound engine built in code: a piano modelled on a real Steinway, Rhodes and Wurlitzer, orchestral sections and choir, guitars, real drum kits, real lo-fi, a full mix with reverb. `music.mjs check` clears a score (key, loudness, balance, novelty) before anyone listens. The launch kit turns your product's prompts, screens and install lines into a launch film in four shapes (16:9, 1:1, 4:5, 9:16), with sound cued from the picture, captions and a sync check; `launch.mjs new` starts one and `launch.mjs ship` delivers every shape.+Every mark is a function and every note is arithmetic, so the same source redraws the same picture on every machine, at every size. There are no generated image assets and no image model calls.Works in Claude Code, Codex and Grok Build, and in any agent that reads skills. It needs Node 20 or newer on your machine; films also use ffmpeg.diff --git a/plugins/anidoodle/skills/anidoodle/SKILL.md b/plugins/anidoodle/skills/anidoodle/SKILL.mdindex c954963..d401bbe 100644--- a/plugins/anidoodle/skills/anidoodle/SKILL.md+++ b/plugins/anidoodle/skills/anidoodle/SKILL.md@@ -124,7 +124,7 @@ node tools/emit.mjs intro --out out/intro.html # one self-co| `verify-export.mjs` | QA on the rendered file: frames, duration, score, A/V sync, true peak after the encode; opt-in first frame, loop seam, `--delivery` || `launch.mjs` | a launch film: `new <name>` scaffolds the spec; `ship <name> --shapes 16x9,9x16` renders, posters, captions, verifies and framechecks each (`framecheck.mjs`: no text cut by the frame's edge) || `test.mjs` (`npm test`) | unit suites in `engine/test/`, no browser |-| `music.mjs` | `vocab` prints a style's vocabulary; `check` gates your composed score; `render`, `meter` |+| `music.mjs` | `vocab` prints a style's vocabulary; `check` gates your composed score (key, master, guards, stems, novelty); `render`, `meter` || `sfx.mjs` | the sound-effects kit: `list`, `one`, `kit <dir>`, `test` |Four backends, one art core: `playwright`, `html-player`, `remotion`, `hyperframes`.diff --git a/plugins/anidoodle/skills/anidoodle/engine/package.json b/plugins/anidoodle/skills/anidoodle/engine/package.jsonindex 99b0c66..8a5aa81 100644--- a/plugins/anidoodle/skills/anidoodle/engine/package.json+++ b/plugins/anidoodle/skills/anidoodle/engine/package.json@@ -1,6 +1,6 @@{"name": "anidoodle-engine",- "version": "0.5.3",+ "version": "0.6.0","private": true,"type": "module","description": "Portable art core + backend adapters for illustrations, animations and films drawn entirely in code.",diff --git a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/film.ts b/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/film.tsindex 152f23c..f88fc42 100644--- a/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/film.ts+++ b/plugins/anidoodle/skills/anidoodle/engine/src/canvas-core/film.ts@@ -15,7 +15,8 @@ export type Film = { meta: {// over 1 s at a 0.02% floor, and a hand's short pauses between passes (up to half a second) are allowed.kind?: "story" | "drawing" | "loop" | "explainer" | "infographic" | "launch" | "interactive";locked?: [from: number, to: number, reason: string][];- holds?: [from: number, to: number][];+ // a declared hold: the stillness is meant (a word read, an end card); the optional reason is printed by the gate+ holds?: [from: number, to: number, reason?: string][];onTwos?: boolean;step?: 1 | 2 | 3;// the score as fitted to this film: its tempo and form; render prints it next to the grid's bpm.diff --git a/plugins/anidoodle/skills/anidoodle/engine/tools/gate.mjs b/plugins/anidoodle/skills/anidoodle/engine/tools/gate.mjsindex fdc6b9a..0250e20 100644--- a/plugins/anidoodle/skills/anidoodle/engine/tools/gate.mjs+++ b/plugins/anidoodle/skills/anidoodle/engine/tools/gate.mjs@@ -83,6 +83,7 @@ const deadAir = async (mp4, meta) => {const { still, windows: win, windowSize } = motionViolations(changed, meta);const merged = []; win.forEach((f) => { const l = merged[merged.length - 1]; if (l && f <= l[1]) l[1] = f + windowSize; else merged.push([f, f + windowSize]); });for (const [from, to, reason] of meta.locked ?? []) console.log(` LOCKED ${from}-${to}: ${reason}; violations remain failures`);+ for (const [from, to, reason] of meta.holds ?? []) if (reason) console.log(` HOLD ${from}-${to}: ${reason}`);say(still.length === 0, "no unexplained identical consecutive frames", still.length ? still.slice(0, 20).join(", ") : "none");say(merged.length === 0, `no ${windowSize}-frame window under ${meta.kind === "drawing" ? "0.02" : "0.5"}% changed`, merged.map(([a, b]) => `${a}-${b}`).join(", ") || "none");const mvt = changed.slice(1).sort((a, b) => a - b);diff --git a/plugins/anidoodle/skills/anidoodle/references/working-method.md b/plugins/anidoodle/skills/anidoodle/references/working-method.mdindex 2990a04..f505bc8 100644--- a/plugins/anidoodle/skills/anidoodle/references/working-method.md+++ b/plugins/anidoodle/skills/anidoodle/references/working-method.md@@ -77,8 +77,10 @@ None of that was drawing. These habits cut it by an order of magnitude:byte-identical, or to find the first frame it moved.- **Holds are declared, never absorbed.** A word being read, an end card, a loop being watched:put the range in `meta.holds` with its reason in a comment. The gate's dead-air check then- knows the stillness is meant. Anything else that sits still is a dead wait: cut it. If the- film is already approved, name it in `meta.locked` with its reason instead; the gate prints it- and keeps failing, so the decision stays visible (`launch3.ts` shows both).+ knows the stillness is meant. Anything else that sits still is a dead wait: cut it. A wait the+ review found in a film that is already approved goes in `meta.locked` with its reason: the gate+ prints it and keeps failing, so the decision stays visible. If the owner accepts it as shipped,+ it becomes a hold with that reason as its third field (`[from, to, "approved as shipped: ..."]`),+ which the gate prints and passes (`launch3.ts`).- **`npm test`** (in `engine/`) runs the unit suites in `engine/test/*.test.ts` without abrowser (camera moves today). Run it with the gate after any engine change.