/animation-skills:zach-d-filmsfrom animation-skills
Generates 3D cartoon "what if" explainer shorts (9:16) in the style of Zack D. Films using three.js. Creates procedural characters, props, slow-motion impacts, and timed captions entirely in code.
Ships in animation-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
┌──────────────────────┐
│ blue sky │ procedural 3D people and props, soft shadows
│ ◕‿◕ ⛨ │ depth of field, bloom, light grain
│ /▓▓▓\ ⟶ • │ slow-motion impacts, sparks, a red force ripple
│ ▓▓ │
│ arrows │ 1-3 word captions, white bold, lower third
└──────────────────────┘
A worked example comes with it: engine/ is a finished 29.5 s short, "Could ancient armour stop a bullet?" (9 shots: a gun shot, a slow-motion bullet flattening on a vest, a sword on chain mail, a mace on plate with a red ripple, an archer, an arrow and a scream, a bullet through two stands). It ships without its voiceover, so you bring a voice. Not affiliated with Zack D. Films; "the style" means the format: a question, a misconception, a "But" twist, building examples and a payoff.
This skill's folder is the "Base directory" Claude Code shows when it loads it.
SKILL_DIR="<base directory of this skill>"
KIT=$(python3 -c 'import os,sys;print(os.path.realpath(os.path.join(sys.argv[1],"..","..","kit")))' "$SKILL_DIR")
[ -d "$KIT/node_modules/playwright" ] || bash "$KIT/setup.sh"
[ -x "$KIT/.venv/bin/python" ] && [ -d "$KIT/models" ] || bash "$KIT/setup.sh" --voice # word timings + free voice, ~1 GB once
PY="$KIT/.venv/bin/python"
Needs ffmpeg, Node and Python 3.9+. It renders with WebGL in headless Chrome: about 0.2 to 0.5 s a frame on a Mac, a few minutes for a short. On a machine without a usable GPU, set GL=swiftshader (much slower).
| File | What |
|---|---|
src/shots.js | The edit. CAPTIONS ([start, text, end?]), FADES (dips to black), DURATION, one function per shot and the SHOTS list ({start, end, build}). A shot's build({makeStage}) returns {scene, camera, update(t)}; update gets time inside the shot and may return {dof, bloom, exposure}. |
src/human.js | makeHuman(outfit): a poseable cartoon person ('vest', 'chainmail', 'plate', 'knight', 'archer'). setPose({joint: [x, y, z]}) for pelvis spine chest neck head lSh lEl lWr rSh rEl rWr lHip lKn lAn rHip rKn rAn (+ drop), setMouth(0..1), lerpPose(a, b, t), standArmor(kind). |
src/props.js | pistol, gunArm, bullet (with a flatten morph), sword, shield, mace, arrow, bow, stand, glowSprite, sparks, streak, rippleOverlay (the red force ripple). |
src/anim.js | kf keyframes, easings, range, cam(fov), place(camera, pos, look), shake, ikArm (2-bone arm IK so hands can grab things). |
src/textures.js, src/materials.js | Canvas-made steel scratches, chain-mail rings, wood, fabric, skin, and the materials built on them. |
src/main.js | Renderer, sky, lighting, depth of field, bloom, grade, and window.renderAt(t). |
<project> must not exist yet) and link the shared packages:
cp -R "$SKILL_DIR/engine" <project> && ln -s "$KIT/node_modules" <project>/node_modules
Write the script into <project>/script.json as a list of sentences.ffmpeg -i <take> -ac 1 -ar 44100 <project>/audio/vo.wav. Otherwise, from the project, the free Kokoro voice: "$PY" "$SKILL_DIR/../stick-figure/engine/tools/tts_kokoro.py" [voice] [speed] (defaults am_michael 1.12; also af_heart, am_adam, bm_george) writes audio/vo_kokoro.wav; copy it to audio/vo.wav. For the browser preview only, also save it as audio.m4a (main.js plays that file)."$PY" "$KIT/words.py" audio/vo.wav script.json writes audio/vo.words.json (the voiceover's name with .words.json). Then python3 captions.py audio/vo.words.json prints CAPTIONS and DURATION to paste over the ones in src/shots.js. Set FADES around your "But" cut (the example dips at 6.2 s), or [].SHOTS with start and end times (delete the example functions you don't use).
update(t) must depend only on t: a render can start in the middle of a shot. Example shot 7 keeps state between frames and needs a workaround, so don't copy that pattern.shots.js: standPose, STAND, handsOnHips, surfaceHit (where a projectile meets a mesh). In props.js: box, shadow. rippleOverlay needs one mesh to sit on; for a target made of parts, give it an invisible disc (with shadows off).props.js as small functions that return a THREE.Group. sparks are glowing points, so splinters or dust need their own meshes.node render.mjs stills 1.5,6.8,14 stills. Look at every shot before a full render.node render.mjs video silent.mp4 30 (about 0.2 to 0.5 s a frame), then add the voice, level it and scale to 1080x1920:
ffmpeg -i silent.mp4 -i audio/vo.wav -map 0:v -map 1:a -vf scale=1080:1920:flags=lanczos -c:v libx264 -crf 17 -pix_fmt yuv420p -af "apad,loudnorm=I=-14:TP=-1.5" -c:a aac -b:a 192k -shortest <name>.mp4
For a live preview, serve the project (python3 -m http.server 8000) and open index.html (click to play with audio.m4a), or index.html?t=14.5 for one frame.
engine/captions.py (opens in a new tab)engine/index.html (opens in a new tab)engine/render.mjs (opens in a new tab)engine/src/anim.js (opens in a new tab)engine/src/human.js (opens in a new tab)engine/src/main.js (opens in a new tab)engine/src/materials.js (opens in a new tab)engine/src/props.js (opens in a new tab)engine/src/shots.js (opens in a new tab)engine/src/textures.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zuancrisp/claude-animation-skills --plugin animation-skills11 skills in this plugin
/breakdownMakes a 3D exploded-view animation for a reel. A phone floats on a dark studio backdrop, comes apart layer by layer (glass, screen, frame, board and battery, back), and each part gets a thin leader line and a label. Use when the user runs /breakdown or asks for an exploded view, a "what's inside" teardown or a labelled 3D breakdown of a device./dan-koeMakes Dan Koe style minimal black-and-white line art for a reel. One white dot on pure black grows into a hairline tree that splits in two at every step, the tips light up, a pulse ring and sparks go off, and one quiet lowercase line swaps to a second. Use when the user runs /dan-koe or asks for Dan Koe style visuals, calm black and white motion graphics about choices, habits or compounding, or line art with one moving dot./graphMakes a minimal line-graph animation for a reel. A smooth black line draws itself on white (or white on black) while one big number counts up with the tip, then lands on the final value. Use when the user runs /graph or asks for a growth chart, a "0 to 100K" number animation or an animated stat./kurzgesagtMakes a Kurzgesagt style flat-vector space explainer shot for a reel. Deep navy-purple space with twinkling stars, flat planets lit from one side with a dark crescent and a soft glow, bright rounded label tags and a white caption low in the frame. The built-in scene stacks all seven planets, to scale, between Earth and the Moon at its farthest. Use when the user runs /kurzgesagt or asks for a Kurzgesagt-style animation, a flat vector space or science explainer shot, or a planets-to-scale visual./low-polyMakes a PS1/N64-era low-poly 3D animation for a reel, in the style of "low poly shorts". Chunky low-resolution pixels, wobbly vertices, dithering, flat warm lighting and small yellow captions with a thin black outline. The built-in scene is a train platform: a dog sits and waits, a train brakes in and pulls away, and he is still there in the snow. Use when the user runs /low-poly or asks for a low-poly, PS1-style, retro 3D or "low poly shorts" animation./map-routeMakes a 3D map animation for a reel. A clean white city with parks and a river, a coloured route that draws itself from start to destination while the camera follows, a red pin that drops with a bounce, an ETA card that counts down and a destination card. Use when the user runs /map-route or asks for an animated route, a "from A to B" map, a journey or a commute animation.3 plugins ship this exact skill · first indexed Nov 1, 2026
Other plugins' skills for the same job