Comment BRUSH · free guide
Claude Code hand-drawn animations: the free kit, the setup and 8 prompts
By Hammad Yousuf ·
Claude Code can make hand-painted animations with ClaudeAnimationBase, a free starter kit (MIT) by John Heibel. There is no video model: Claude writes p5.js and p5.brush code, headless Chrome paints every frame from that code, and ffmpeg joins the frames into an MP4. The kit is free; Claude Code needs a paid Claude plan or API billing.
At a glance · checked 26 November 2026
- The kit
- ClaudeAnimationBase by John Heibel, MIT
- The brushes
- p5.brush by Alejandro Campos Uribe, MIT, 11 built-in brushes
- You need
- Claude Code, Node.js, Google Chrome, ffmpeg and git
- Cost
- Kit free; Claude Pro is $20 a month ($17 a month billed yearly)
Read this first
- The kit: ClaudeAnimationBase is a community project, not an Anthropic product and not a Claude feature. github.com/JohnHeibel/ClaudeAnimationBase
- The brushes: it paints with p5.brush, a brush library for p5.js (pencils, charcoal, markers, watercolour fills, hatching). github.com/acamposuribe/p5.brush
- What it costs: the kit and p5.brush are free. Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console (API billing) account; the free claude.ai plan does not include it. Pro is $20 a month, or $17 a month billed yearly ($200 up front).
- Every painting in the reel was written by Claude (Opus 5.5) in Claude Code with this kit and rendered by the kit's own renderer. Nothing was drawn by hand, and no video or image model was used.
What you need
- Claude Code with a paid plan or a Console account (code.claude.com/docs/en/setup).
- Node.js, Google Chrome and ffmpeg. The kit's README lists these three.
- git, to clone the kit.
- Ideally a computer with a dedicated GPU. Without one, the kit's README says watercolour fills render at seconds per frame. On my Apple M1 Pro, frames took 20 to 200 ms, and all 12 clips in the reel rendered in about 6 minutes.
Set up the hand-drawn animation kit, step by step
Install Claude Code
On macOS, Linux or WSL run the first command; in Windows PowerShell run the second.
macOS · Linux · WSLcurl -fsSL https://claude.ai/install.sh | bashWindows PowerShellirm https://claude.ai/install.ps1 | iexInstall Node.js, Chrome and ffmpeg
On a Mac with Homebrew, run this, then install Chrome from www.google.com/chrome. On Windows or Linux, use nodejs.org/en/download and ffmpeg.org/download.html.
macOS · Homebrewbrew install node ffmpegClone the kit
Download the kit and step into its folder.
terminalgit clone https://github.com/JohnHeibel/ClaudeAnimationBase cd ClaudeAnimationBaseInstall its packages
This pulls in p5, p5.brush and puppeteer-core.
terminalnpm installTest the renderer
This renders the kit's 11-second demo to
out/video.mp4. Openstudio.htmlin Chrome to scrub through it. If Chrome is not in a standard place, add--chrome=<path>or setCHROME_PATH.terminalnode render.mjs --clip --out=out/video.mp4Open Claude Code in the folder
Run
claudeand sign in in the browser.terminalclaudeDescribe your scene
Paste one of the prompts below. Claude plans the shots, writes the code, renders contact sheets to check its own work, and writes the video to the
outfolder.Look, then ask for changes
Ask in plain words, for example "slower", "more boil on the lines" or "make the sun bigger". Claude re-renders.
Make it vertical for Reels, TikTok and Shorts
The kit renders 1920x1080 (landscape) by default. Run this prompt once before the others:
Read ANIMATION_GUIDE.md. Then switch this project to a vertical 1080x1920 canvas for Reels, TikTok and Shorts: change W and H in src/core.js, and the canvas size and aspect ratio in studio.html. Render one still frame to check that nothing is cut off.The three prompts from the reel
Each prompt ends with the same settings line, so you can swap the scene and keep the rest.
1. Pencil skyline
promptRead ANIMATION_GUIDE.md, then paint a pencil skyline that draws itself: graphite lines of a desert-city skyline with one stepped supertall, drawn stroke by stroke on cream paper, line boil on twos, ending on a hatched sun. Vertical 1080x1920 canvas, 24 fps, about 6 seconds. No Clawd, no text or letters, flat 2D, soft palette.2. Charcoal falcon
promptRead ANIMATION_GUIDE.md, then paint a charcoal falcon taking off: black charcoal and ink-brush strokes, smeared wing frames at 8-12 fps, a red petal falling, over a red-orange wash that settles to flat red; the camera follows the bird down. Vertical 1080x1920 canvas, 24 fps, about 6 seconds. No Clawd, no text or letters, flat 2D, soft palette.3. Watercolour desert sunset
promptRead ANIMATION_GUIDE.md, then paint a watercolour desert sunset: dunes, a small camel caravan walking left to right, the sky painting itself in from orange to violet, sand drifting in the wind. Vertical 1080x1920 canvas, 24 fps, about 6 seconds. No Clawd, no text or letters, flat 2D, soft palette.
The four uses from the reel
Moving illustrations are the three prompts above. Here are the other uses, plus a line for computers without a dedicated GPU.
Painted transitions
Two scenes joined by the kit's brush-wipe transition.
promptRead ANIMATION_GUIDE.md, then make a 6-second piece in two scenes: watercolour dunes at dusk, then the kit's brush-wipe transition into a pencil city skyline. Vertical 1080x1920 canvas, 24 fps. No Clawd, no text or letters, flat 2D, soft palette.Loops for your posts
A short seamless loop for a post background.
promptRead ANIMATION_GUIDE.md, then paint a pencil sketch of a bicycle with a basket of yellow flowers rolling across cream paper, wheels turning, petals trailing, as a seamless 2-second loop with lots of empty paper. Vertical 1080x1920 canvas, 24 fps. No Clawd, no text or letters, flat 2D, soft palette.Story reels (storyboard first)
The kit's author suggests asking for the storyboard before any code.
promptRead ANIMATION_GUIDE.md. Give me a storyboard first and wait for my OK before you write any code. The story: [one sentence: who wants what, what gets in the way, how it ends]. 15 seconds, vertical 1080x1920, 24 fps, 3 to 5 shots linked by transitions, a character you design yourself (not Clawd), no text or letters. After my OK, build it shot by shot, check your contact sheets, and render out/video.mp4.No dedicated GPU? Add this to any prompt
The kit's README gives the same advice for integrated graphics.
promptMy computer has no dedicated graphics card. Avoid p5.brush watercolour fills in this piece and use something lighter that still looks hand-painted, such as washes and hatching.
The 11 p5.brush brushes
- pen
- rotring
- 2B
- HB
- 2H
- cpencil
- pastel
- crayon
- charcoal
- spray
- marker
Name them in your prompt ("draw the outlines with 2B, shade with charcoal"). To design your own, use the Brush Maker (acamposuribe.github.io/p5.brush/tools/brush-maker.html) and give Claude the brush.add() code it generates. If Claude ever writes p5.brush code outside the kit, point it at the library's llms.txt, its API cheat sheet for AI coding tools (github.com/acamposuribe/p5.brush/blob/main/llms.txt).
Version note: the kit asks for p5.brush ^2.2.3, so npm install stays on 2.x. p5.brush 3.0.0 (released 28 Oct 2026) rebuilt the watercolour fills, and its release notes say seeded 2.x sketches won't reproduce their old output. Do not upgrade in the middle of a project.
Why it doesn't look like AI video
- Nothing is generated by a video model. Every frame is drawn by code, so the strokes stay consistent and you can re-render any frame.
- The kit's ANIMATION_GUIDE.md gives Claude the rules: real brush strokes, flat 2D, linework that "boils" (reseeded 12 times a second, so it wobbles like hand-drawn cartoons), no text, transitions between scenes and something happening in every shot.
- It is still AI-made: Claude wrote the code. Say so wherever your platform or client expects it.
Licence and commercial use
- ClaudeAnimationBase: MIT, copyright 2026 John Heibel. p5.brush: MIT, copyright 2023-2026 Alejandro Campos Uribe. p5.js: LGPL-2.1.
- MIT allows commercial use. If you share or sell the code itself, keep the copyright and licence notice with it. Crediting both authors under your video is good practice.
- Clawd is not covered. The kit's demo character, Clawd, is the Claude Code mascot. The MIT licence covers the code, not Anthropic's brand, and Anthropic's trademark guidelines forbid altered marks and implied endorsement (www.anthropic.com/legal/trademark-guidelines). Design your own characters; the guide says Clawd's design can change.
- Do not reuse the PDoomVideo music video that started this trend. Its repo has no licence.
Honest limits
- Only the kit is free. Claude Code needs a paid plan or API billing, and it shares your plan's usage limits, so long sessions with many render-and-review loops use a lot of it.
- Results depend on your prompt and the reasoning level. The kit's author made his test videos with Opus 5.5 on xhigh reasoning.
- The guide steers Claude to flat 2D with no text in the painting. You can override it, but the kit is built for that painted 2D look.
- It is a starter kit with a guide, not a one-click skill or an app. Expect a few rounds of "look and fix".
Before you post: checklist
- The canvas is 1080x1920 for vertical platforms.
- No Clawd and no Claude logo redrawn in the painting.
- You watched the full render for broken frames. In my renders, the first frame sometimes missed a wash, so I rendered two frames early and trimmed them.
- The kit and p5.brush are credited in the caption.
- The caption says the piece was made with AI where your platform asks.
Another option
Anthropic's algorithmic-art skill (Apache-2.0) makes p5.js generative art with Claude: flow fields, particles and seeded randomness, as an interactive HTML viewer. It does not paint with p5.brush and does not export video. github.com/anthropics/skills/tree/main/skills/algorithmic-art
Official links
- ClaudeAnimationBase (the kit, MIT)github.com/JohnHeibel/ClaudeAnimationBase ↗
- ANIMATION_GUIDE.md (the rules Claude follows)github.com/JohnHeibel/ClaudeAnimationBase/blob/main/ANIMATION_GUIDE.md ↗
- p5.brush (the brush library, MIT)github.com/acamposuribe/p5.brush ↗
- p5.brush Brush Makeracamposuribe.github.io/p5.brush/tools/brush-maker.html ↗
- p5.brush websitep5-brush.cargo.site ↗
- p5.jsp5js.org ↗
- Claude Code setupcode.claude.com/docs/en/setup ↗
- Claude plans and pricesclaude.com/pricing ↗
Sources checked
The facts on this page were checked against the GitHub repos, their licence files and release notes, Anthropic's docs and the Claude pricing page on 26 November 2026. The render times are from my own test (Apple M1 Pro, kit commit 0ac8bf2, p5.brush 2.2.3). Prices and limits change, so treat the official pages as the final word.
- ClaudeAnimationBase: MIT (Copyright 2026 John Heibel); README: Node.js, Chrome and ffmpeg, npm install, node render.mjs --clip, --chrome / CHROME_PATH, watercolour fills slow without a dedicated GPU, test videos made with Opus 5.5 on xhigh; last commit 0ac8bf2 (24 Sep 2026). Source ↗
- ANIMATION_GUIDE.md: brush strokes, flat 2D, boil reseeded 12 times a second, no text, transitions, storyboard first, contact sheets, Clawd is the Claude Code mascot and its design can change. Source ↗
- Kit default canvas 1920x1080 (W, H in src/core.js); package.json asks for p5.brush ^2.2.3. Source ↗
- p5.brush: MIT (Copyright 2023-2026 Alejandro Campos Uribe), default set of 11 brushes, Brush Maker, llms.txt. Source ↗
- p5.brush 3.0.0 (28 Oct 2026): watercolour fills rebuilt; seeded 2.x sketches won't reproduce their output. Source ↗
- p5.js is LGPL-2.1. Source ↗
- Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console account (not the free plan); install.sh and install.ps1 commands. Source ↗
- Pro $17 a month billed yearly ($200 up front) or $20 monthly; Claude Code is included in all paid plans and shares their usage limits. Source ↗
- No altered trademarks, no implied sponsorship or endorsement. Source ↗
- PDoomVideo has no licence file. Source ↗
- algorithmic-art skill: Apache-2.0, p5.js generative art as an HTML viewer. Source ↗
About the video: the reel that sent you here is presented by an AI avatar of Hammad Yousuf. Not affiliated with Anthropic, John Heibel or the p5.brush project.