Claude Code · From our Short

How to Make Video Animations With Claude Code and GSAP

By Updated: 2026-11-28 · Last checked: 2026-11-28 (gsap.com/standard-license, github.com/greensock/GSAP and github.com/heygen-com/hyperframes)How we test

No affiliate links on this page: every link is a plain link, and none of these tools pays us.

On this page
  1. What GSAP is
  2. Where to get it
  3. How to make your first animation
  4. What we learned making 100 animations
  5. Questions

Short answer: GSAP is a free JavaScript animation library, and Claude Code can write a GSAP animation from one sentence and change it when you say what's off. HyperFrames then turns it into an MP4. You don't need to write code. Here's the process we use for every graphic in our Shorts.

What GSAP is

GSAP is a JavaScript library for animation on web pages: things that move, fade, count up or draw themselves. Since Webflow took it over, "the entire GSAP toolset is FREE, even for commercial use", including plugins such as SplitText and MorphSVG (GSAP's GitHub page and licence, checked 2026-11-28).

Claude Code writes the GSAP code for you. You describe the animation, open the file it makes, and tell it what to change. HyperFrames, an open-source tool by HeyGen (Apache 2.0), renders HTML and GSAP animations into MP4 video.

One licence limit: you can't use GSAP inside a no-code tool that competes with Webflow's visual animation builder. Making animations for your own videos is fine.

Where to get it

How to make your first animation

  1. Open Claude Code

    Use the Code tab in the Claude desktop app, or run claude in a terminal. It comes with paid Claude plans.

  2. Ask for the animation in plain words

    Say what moves, how long it lasts and that you want one file you can open:

    Build a 3-second GSAP animation of a counter draining day by day, as one HTML file I can open in my browser.

    What we did: we always say the length and what the last frame should show.

  3. Open it and say what's off

    Double-click the HTML file to play it in your browser. Then say what to change, in normal words: "slow it down", "make the numbers bigger", "land the last number on 0".

    What we did: two or three rounds is usual. Ask for "frame-exact" timing if it will become video.

  4. Render it to video

    Add HyperFrames to Claude Code and ask it to render the animation, or run it yourself (needs Node.js 22+ and FFmpeg):

    claude plugin marketplace add heygen-com/hyperframes
    claude plugin install hyperframes@hyperframes
    npx hyperframes render

    What we did: our own renderer is custom code, but HyperFrames is the easiest way to get the same result.

  5. Reuse what works

    Ask Claude to keep good animations in a folder with their settings (colours, timings, the numbers they show), so the next video starts from them.

    What we did: we have a library of about 100 scenes, each reused across Shorts.

What we learned making 100 animations

  • Show the idea, not a label. An animation should show the thing changing (credits draining, a door locking), not a word on screen.
  • Say the timing. Tie each move to a spoken word; tell Claude the second it should land.
  • Keep it readable on a phone. Text a viewer must read should be large; ask for bigger type than feels natural.
  • One look per object. A coin should look the same in every video, so keep and reuse your designs.

Watch Claude build one. Claude builds your video animations (YouTube).

Questions

Is GSAP free for commercial use?

Yes. GSAP's standard licence covers commercial use at no charge, and all its plugins are free too. The one restriction is using GSAP in no-code tools that compete with Webflow's visual animation builder.

Do I need to know JavaScript?

No. Claude Code writes the GSAP code; you describe the animation and say what to change.

How do I turn a GSAP animation into a video?

HyperFrames renders HTML and GSAP to MP4. It needs Node.js 22 or newer and FFmpeg, and can be added to Claude Code as a plugin.

Is HyperFrames free?

Yes, it's open source under the Apache 2.0 licence, made by HeyGen.

Which Claude plan do I need?

Claude Code comes with paid Claude plans; see claude.com/pricing for which ones include it.

More tool guides from our Shorts: all tool guides · the tools from every Short.