Show it a video you love. Get a new video in the same style. An AI crew (Claude Code or Codex) plans, builds and reviews it with you.
JavaScript 2d-animationai-agentsai-videoanimationclaude-codecodexmulti-agentstyle-transfervideo-generation
painted-animation: repo-relative scaffold path; cp fallback when rsync is missing; find Chrome on Windows
許元豪9b8bf26de51e
diff --git a/.claude/skills/painted-animation/SKILL.md b/.claude/skills/painted-animation/SKILL.mdindex 54772e6..a4b06cc 100644--- a/.claude/skills/painted-animation/SKILL.md+++ b/.claude/skills/painted-animation/SKILL.md@@ -14,7 +14,7 @@ A method for making short cartoons entirely in code, distilled from [JohnHeibel/### 0. Scaffold```bash-bash ~/.claude/skills/painted-animation/scripts/new_project.sh <project-dir> # add --keep-demo to keep the example scene hooked up+bash .claude/skills/painted-animation/scripts/new_project.sh <project-dir> # add --keep-demo to keep the example scene hooked up```This copies the template, unhooks the demo scene, runs `npm install` and checks node / ffmpeg / Chrome. Then **read `<project-dir>/ANIMATION_GUIDE.md` in full** before designing anything: it holds the rules, the animation principles and the complete engine / Clawd API. Look at `docs/emotions.jpg` and `docs/views.jpg` (the model sheets) with the Read tool.diff --git a/.claude/skills/painted-animation/scripts/new_project.sh b/.claude/skills/painted-animation/scripts/new_project.shindex f169df8..8466146 100644--- a/.claude/skills/painted-animation/scripts/new_project.sh+++ b/.claude/skills/painted-animation/scripts/new_project.sh@@ -8,7 +8,7 @@ KEEP_DEMO="${2:-}"if [ -e "$TARGET/studio.html" ]; then echo "error: $TARGET already has a studio.html; not overwriting" >&2; exit 1; fimkdir -p "$TARGET"-rsync -a "$SKILL_DIR/template/" "$TARGET/"+if command -v rsync >/dev/null; then rsync -a "$SKILL_DIR/template/" "$TARGET/"; else cp -R "$SKILL_DIR/template/." "$TARGET/"; fi # Git Bash on Windows has no rsyncmkdir -p "$TARGET/assets" "$TARGET/out/check"# The demo is an example, not a template: unless asked, unhook it so the new video starts clean.@@ -23,7 +23,7 @@ npm install --silentecho "== toolchain"command -v node >/dev/null && echo "node $(node -v)" || echo "MISSING: node"command -v ffmpeg >/dev/null && echo "ffmpeg ok" || echo "MISSING: ffmpeg (brew install ffmpeg)"-for c in "${CHROME_PATH:-}" "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" /usr/bin/google-chrome /usr/bin/chromium; do+for c in "${CHROME_PATH:-}" "/c/Program Files/Google/Chrome/Application/chrome.exe" "/c/Program Files (x86)/Google/Chrome/Application/chrome.exe" "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" /usr/bin/google-chrome /usr/bin/chromium /usr/bin/chromium-browser; do[ -n "$c" ] && [ -x "$c" ] && { echo "chrome $c"; FOUND=1; break; }done[ "${FOUND:-}" = 1 ] || echo "MISSING: Chrome (install it, or pass --chrome=<path> to render.mjs)"