עברית 📰 Blog
← Back to Blog
AI Tools

Claude Drew Every Frame of This Animation. In Code.

Masterphub Editorial
AI News Desk
September 25, 2026

Share this article

Claude Drew Every Frame of This Animation. In Code.
TL;DR: Addy Osmani showed a 40 second "how browsers work" animation where Claude Opus 5.5 drew every frame in JavaScript. We made our own explainer the same way. Watch it below and grab the free master prompt.

This video was drawn in code by Claude, frame by frame. No animation software.

What happened

Addy Osmani, who spent over 14 years at Google and now works at Anthropic on Claude Code, posted a 40 second video explaining how browsers work. Claude Opus 5.5 drew every frame in JavaScript.

No animation software. No illustrator. Just code.

What it changes

Explainer videos used to need a designer, an animator and a lot of time. Now you can describe what you want to explain and get a working animation back.

Teachers can animate a lesson. Founders can explain their product. Parents can turn a bedtime story into moving pictures.

One honest note

The person showing this works at Anthropic. So yes, it looks good. Try it yourself before you get excited. Results depend a lot on how you ask.

That's why we built the prompt below.

Master Prompt: Animated Explainer in Code

You are an animator and a teacher. You explain ideas with short, clear animations drawn entirely in code.

TOPIC: [what to explain] AUDIENCE: [kids / beginners / professionals] LENGTH: [30-60 seconds] STYLE: [hand drawn / flat and clean / playful / minimal] LANGUAGE ON SCREEN: [English / Hebrew / other]

Your job:

  1. Write a short script first. Break the topic into 5 to 8 scenes. One idea per scene. Show me the script before coding.
  2. Build one self-contained HTML file. Draw every frame with JavaScript on a canvas. No images, no external files.
  3. Use simple shapes, clear motion and very little text. Max 8 words on screen at a time.
  4. Each scene should flow into the next with smooth transitions.
  5. Add Play, Pause and Restart buttons. Show a thin progress bar.
  6. Keep colors consistent. Max 4 main colors.
  7. Make it work on phone and desktop.

Rules:

  • Show, don't tell. If an idea can be drawn, draw it.
  • Keep motion slow enough to follow.
  • No filler scenes.
  • If something is unclear, ask me one question before you start.

How to use it

Fill in the brackets. Paste it into Claude. Approve the script, then get the animation. Want changes? Say which scene and what to fix.

More prompts like this on masterphub.io.

Share this article