line-art-animation: ink scenes that walk, react and turn to night
One bakery prompt, run with and without the skill: the skill run looked at its own frames ten times and fixed them
- Who
- A Claude skill and a small TypeScript library by JDhruv14, MIT licensed, for people who want hand-drawn-looking animated illustration.
- When
- Public since 10 November 2026. No release tag yet; package.json says 0.1.0.
- Where
- It goes in Claude Code's skills folder. What you get is SVG and TypeScript in your own project, running in the browser.
What was hard
Ask an agent for a walking figure and the body usually bobs on a sine wave while the feet slide over the ground. Limbs come out as stiff closed tubes and clothes ignore the legs. Ask for a whole scene in one go and every piece looks the same.
What it does about it
The skill writes those failures down as rules and has the agent solve the motion instead of animating it by hand. gait() works out the walk: the planted foot moves back at exactly the travel speed, and hip height comes from what the planted legs can reach. Limbs are two open pen strokes that stop short of each other, which is most of what makes it read as hand-inked. One function, palette(τ), gives sky, paper and ink for any hour, so the whole drawing turns to pale ink on indigo at night.



What people made with it
How it runs inside
- 1
You → Claude Code
"A line art animation of a bakery at dawn"Asking for a line art, ink or hand-drawn animation, or a living street scene, calls the skill.SKILL.md - 2
Claude Code → SKILL.md
Pen weight, paper colour, proportions firstBefore anything moves it pins the look with references/style.md.references/style.md - 3
SKILL.md → lib/ (ink, gait, daynight)
Copy the four lib/ files into the projectFour dependency-free .ts files, set up with Vite and TypeScript.lib/ink.ts - 4
Claude Code → You
One figure first, for your yesA full set built at once comes back generic, so one good piece sets the bar.SKILL.md - 5
lib/ (ink, gait, daynight) → Claude Code
gait() for the walk, palette(τ) for the hourThe planted foot slides back at exactly the travel speed; at night ink and paper swap.lib/gait.ts - 6
Claude Code → scripts/capture.ts
Step frame by frame with ?debugTypecheck, zoomed frame strips and triggered interactions come before it shows you anything.references/verify.md - 7
scripts/capture.ts → An SVG component and an MP4
PNG frames, then ffmpeg to mp4Headless Chrome advances exactly one frame per screenshot, so the video does not depend on machine speed.scripts/capture.ts
What goes in, what comes out
Is it for you
Good for
- A hand-drawn-looking animated illustration for a landing page or a blog
- Line-art scenes for reels or intro videos with no footage to shoot
- Measuring the walk and timing of a line-art clip you like and matching it in your own component
- A small living scene that changes from day to night and reacts when clicked
Not for
- In AI Parabellum's comparison the skill run took 16 minutes 38 seconds and $4.29, against 8 minutes 50 seconds and $1.69 without it.
- The examples and scripts need Node 22.18 or newer; video also needs ffmpeg and a local Chrome or Chromium.
- capture.ts looks for Chrome in macOS and Linux paths; elsewhere you point it with the CHROME variable (from the code).
- It has been public for under a week and has no release tag.
Reviewed by Devalley’s editor before publishing. How the column is made
