← Back to the vault

From @rajeevkugan

My Claude animation setup.

27 animations in my own FX library, all built with Claude. I say "iceberg" or "hologram" and it lands in the video. No After Effects. Here's how to build yours.

The idea

Animation as code, called by name

01

Every animation is code

2D scenes are React components in Remotion, drawn frame by frame. 3D scenes are three.js, rendered to a clip first. Nothing is keyframed by hand.

02

Every animation has a name

A call sheet lists each one, the words I can say for it and what I can change. Claude reads that sheet, so "iceberg with these three labels" is all I need to type.

03

Claude checks its own work

It renders stills of the key frames and looks at them before the full render. That catches cut-off text and broken frames early.

Setup

Build yours in Claude Code

  1. Install the basics. Node 20 or newer, ffmpeg, Google Chrome and Claude Code.
  2. Make an empty folder and open Claude Code in it. Then paste the first prompt below.
  3. Review the gallery. Tell Claude what to change on each animation, the same way you'd brief an editor.
  4. Add 3D when you're ready with the second prompt, then keep adding animations one at a time.
1. Build the library
Build me a personal animation library in Remotion for vertical video (1080x1920, 30 fps). I want to call each animation by name.

Structure
- One React component per animation, all driven only by the current frame so every render comes out the same. No CSS animations, no timers, no unseeded Math.random.
- One AnimScene component that takes a mode plus options (text, label, sub, lines, items, value, prefix, suffix, color, src, src2), each with a good default, so an animation works from its name alone.
- A CALLSHEET.md table: name, the words I can say for it, what it does, its options. Update it whenever you add or change an animation.
- A gallery composition that plays every animation back to back for 3 seconds each, so I can review the whole library.

Start with these six: a rolling stat chart, a low-poly iceberg with labels under the water, a type slam where one word stretches over the frame, a receipt that prints line by line, a day counter with a stamp, and a before/after browser slider that accepts two screenshots.

Rules
- Keep text at least 110 px from the left, 150 px from the right, 230 px from the top and 470 px from the bottom.
- Every animation finishes inside its duration and ends on a finished frame.
- Solid text colours only: no background-clip text and no mix-blend-mode. They can break in full renders.
- Only use 3D CSS transforms while something is actually moving.
- Load fonts from local files before rendering.

Before any full render, render stills of the key frames, look at them yourself and fix what's wrong. Then render the gallery and tell me where it is.
2. Add real 3D
Add real 3D scenes to my animation library using three.js.

- Render them in headless Chrome: a page with renderFrame(f) that draws frame f the same way every time, saved as images, then encoded with ffmpeg into a silent 30 fps MP4 (1080x1920).
- Use the GPU if this machine has one.
- Add a "clip" mode to AnimScene that plays one of those MP4s, so 3D scenes are called by name like everything else.
- Start with three: a hologram (projector beam, wireframe object scanning up, callouts), a product turntable (object on a lit disc, a blade of light, callouts) and a laptop reveal (lid opens, camera dives through the screen until a screenshot I give you fills the frame).
- Add them to CALLSHEET.md. Show me stills of each before rendering the full clips.
3. Use it, by name
Put an iceberg at 0:12 in my video. Above the water: "What they see". Below: late nights, failed drafts, rewrites.

Add a type slam at 0:30: "50 SITES", then "50 DAYS" stretched over the frame.

Make me a new animation called "vault door": a steel door spins open and a number rolls behind it. Add it to the call sheet.
Make it yours. Borrow ideas, not footage, logos or fonts you don't have the rights to. Remotion is free for individuals and small teams, but larger companies need a licence, so check their terms.

The library

The 27 in the reel

NameTypeWhat it does
Black Hole3DRay-traced black hole while a number rolls
Hologram3DProjector beam, a wireframe scans up with callouts
Teardown3DAn object separates into labelled parts
Turntable3DA product spins on a lit disc with callouts
Contour Map3DA survey-line mountain grows as a number climbs
Laptop Reveal3DLid opens, camera dives into your site screenshot
Split Flap2DAirport board, every tile flips until it lands
Map Route2DIsometric city rises, a route draws through it
Headline2DNewspaper lands, the story types out
Stat Chart2DNumber rolls with a hockey-stick line
Globe Arcs2DDotted globe turns, arcs shoot from a hub
Agent Swarm2DA grid of workers becomes one finished card
Before After2DBrowser slider wipes an old site to a new one
Swiss Grid2DColour blocks switch while three big words swap
Blueprint2DA house draws itself in white lines
Paper Desk2DChart on paper, a red pen circles the point
Notifications2DLock screen alerts scroll, a total rolls
Type Slam2DShort words punch in, one stretches over the frame
Day Counter2DDays tick off, a stamp lands the last one
Receipt2DA printer feeds a receipt out line by line
Particle Logo2DA galaxy of dots condenses into a word
Git City2DGrid of glowing bars rises from the centre
Money Stack2DBundles drop on a pallet while the figure rolls
Iceberg2DCamera dips under the water, hidden items label themselves
Terminal Bloom2DScattered letters settle, the UI assembles under them
Neon Silhouette2DSynthwave window, a clock runs to midnight
Iso Flow2DA route draws through numbered pins on a board

Want it done for you?

If you want scroll-stopping video for your brand, that's what we do at FROZN Media. DM me @rajeevkugan.

DM on Instagram ↗
Rajeev Kugan@froznmedia · @djicykle · @devbites · #EveryPixelCounts
Follow ↗

Tools and commands can change. Check each tool's own docs if a step doesn't match.