TEST 034

Claude, Codex or Gemini: the 20-second motion design prompt and its tool stack

Motion graphicsClaude Code, Codex, Antigravity

Short answer

Install the core stack (HyperFrames to render, Three.js for 3D, GSAP for timing, FFmpeg for the video file), open a coding agent such as Claude Code, Codex or Antigravity in an empty folder, fill in the brackets in the prompt below and paste it. The agent works on its own and delivers a 20-second 1080 × 1350 MP4 with music, its editable source and a QA report.

Claude, Codex and Gemini each got the same 20-second script, the same tools and the same rules, and each turned it into a motion graphics film using only code. No video generator touched any frame. The agent writes the animation as a web page, and a renderer films it frame by frame into an MP4.

Below are the tools they could pick from and the prompt they got.

The tool stack

Every agent got the same list. Four core tools:

  • HyperFrames turns an animated web page into an MP4, frame by frame, so the agent can make video with code.
  • Three.js draws 3D in the browser: objects, materials, lights and a camera you can move.
  • GSAP is the timeline. It controls when each thing moves, how fast and with what easing.
  • FFmpeg encodes the video file and mixes in the music and sound effects.

Seven optional tools:

  • Postprocessing adds glow (bloom) and a colour grade on top of a Three.js scene.
  • React Three Rapier adds physics, so 3D objects fall, bounce and collide, in Three.js scenes built with React.
  • Flubber morphs one flat shape smoothly into a different one.
  • Blender is a free 3D app for modelling and rendering.
  • Motion is an animation library for React and JavaScript, formerly Framer Motion.
  • React Bits is a library of ready-made animated pieces for React sites: text effects, backgrounds and more.
  • Taste Skill is an add-on for coding agents that gives them art direction: curated reference sites, real pictures and a browser check of the result.

What each agent picked

The prompt says to use any subset, and none of the three used all eleven. From their own QA reports:

  • Claude (Opus 5.5, in Claude Code) used HyperFrames, GSAP, Three.js and FFmpeg, and none of the seven optional tools.
  • Codex (GPT-6.2 Sol) used HyperFrames, GSAP, Three.js and FFmpeg too.
  • Gemini (Gemini 4 Neon, in Antigravity, the coding agent it ran in) used HyperFrames and GSAP and wrote its own 3D shader code.

Codex's film is its second run. On the first, it couldn't find Three.js or GSAP on my Mac and the prompt didn't let it install anything, so it wrote its own renderer instead. I ran it again with the same brief, plus a note on where the tools were and permission to install them inside its own project folder.

The prompt

This is the prompt Claude got, word for word. Codex and Gemini got the same text with their own name, model, emoji and folder. Two kinds of edit are marked in square brackets: the slots you fill in, and one section I took out. That section pointed to my private style guide and reference videos; left in, it would make the agent stop and report missing files.

PromptThe 20-second motion design challenge
# [NAME] — THE 20-SECOND MOTION DESIGN CHALLENGE

## YOUR IDENTITY
- Coding agent: [your coding agent, for example Claude Code, Codex or Antigravity]
- Required model: [the model you picked]
- Reasoning effort: High
- Film identity: [NAME]
- Voting identity: [NAME] [EMOJI]

Verify and record your actual model and settings. Do not claim another model ran if the requested configuration is unavailable.

## YOUR CHALLENGE

You have exactly **20 seconds to convince an audience that you deserve to design their next video**.

You are competing against two other AI coding agents. All three have the same script, tools, references and creative guidelines.

This is your audition as a motion designer.

You have complete freedom to interpret the script through cinematic motion graphics, kinetic typography, dimensional objects, transitions, camera choreography, colours, lighting, materials, music and sound effects.

Be ambitious. Be original. Show what you can achieve through code.

You are NOT building a slideshow, tutorial, conventional product demonstration or collection of animated title cards.

Your result must feel like a deliberately directed motion-design film.

**Impress people.**

## THE SCRIPT — ON-SCREEN TEXT ONLY

Display these exact words through your animation:

Hi, I am [Name]

I am given creative freedom to impress you

I can make cinematic motion graphic,

with kinetic typography,

liquid smooth shape transitions,

Fluid 3D elements

and Seamless Camera movement

So, would you pick me to design your video?

The script is NOT spoken narration. Every line must appear visually and be readable. You decide how words appear, interact with objects, transform, occupy space and transition.

Preserve the wording. Do not omit sentences or replace the script with a different story.

## FINAL FRAME

End with your identity:

**[NAME] [EMOJI]**

Make the ending memorable. It must feel like the payoff of the preceding film.

The audience will vote for their favourite design using an Instagram poll. You may include a small "VOTE IN THE POLL" cue, but do not create a fake interactive poll inside the video.

## CREATIVE FREEDOM

You may use:
- Cinematic motion graphics and compositing
- Extruded, dimensional or kinetic typography
- Smooth and surprising shape transformations
- Fluid 3D objects, materials and simulations
- Seamless or deliberately striking camera transitions
- Particles, lighting, shaders, procedural effects and motion blur
- Original music, licensed music and sound effects
- Any combination of the provided tools

Do not assume every effect is necessary. Choose the techniques that produce your strongest film.

The references are inspiration, not storyboards. Do not reproduce their exact animation, composition, branding or proprietary assets.

## SHARED RESOURCES

Workspace:
`[your project folder]`

[Removed: the lines that pointed to my private creative guidelines, reference videos and typography example.]

You have access to the common toolkit: HyperFrames, Three.js, GSAP, FFmpeg, and the optional Postprocessing, React Three Rapier, Flubber, Blender, Motion, React Bits and TasteSkill resources.

Use any subset. You do not have to demonstrate every tool.

Verify local availability before building. Do not install, download, make paid API calls, upload assets externally or change shared software without authorisation. If required resources are missing, identify the exact blocker rather than substituting a different benchmark.

## DELIVERY SPECIFICATIONS

- Duration: 20 seconds, within one frame
- Resolution: 1080 × 1350
- Format: MP4, portrait 4:5
- Frame rate: 30 fps
- Audio: Music and SFX encouraged; no voiceover
- Primary method: Code-driven animation
- Editable project source required

Work only inside:
`[your output folder]`

Deliver:
1. `FINAL_20S.mp4` — complete film with audio
2. `project/` — editable source and necessary assets
3. `RENDER_QA.md` — runtime, versions, reproduction instructions and technical checks
4. `CREATIVE_NOTES.md` — short explanation of your artistic direction and tools used

## QUALITY CONTROL

Before delivering, watch the completed video in motion and listen to the audio.

Correct text collisions, clipping, accidental intersections, weak physical interaction, broken masks, unmotivated effects, unreadable text, poor transitions and unsynchronised audio.

Review at phone-screen size. Every scripted line should be intelligible, and the ending must be satisfying.

You may perform autonomous iterations and self-correction. Do not ask for creative approval between stages.

Preserve all shared files and other agents' outputs. Do not publish the result.

## YOUR MANDATE

Make the best 20-second motion-design film you can.

Do not give me a design proposal instead of a video.

**Design it. Code it. Animate it. Render it. Review it. Deliver it.**

How do you run it?

  1. Install the core tools first. The prompt tells the agent not to install anything, and Codex's first run shows what happens when it can't find them: it builds its own renderer. The HyperFrames setup guide covers HyperFrames, Node.js and FFmpeg for Claude Code. Or delete that line and let the agent install what it needs.
  2. Open your coding agent in an empty folder.
  3. Fill in the brackets: the agent and model you use, a name in capitals, an emoji, and the folders.
  4. Paste it and leave it. The prompt tells the agent not to ask for approval between stages, so it should run through to the MP4 and the source.
  5. Watch it on your phone, then ask for changes in plain words: what's too fast, what's hard to read, what you'd cut.

The catch

  • You need a coding agent. Claude Code needs a paid Claude plan.
  • Without my style guide and reference videos, your film will look different from these three. The same prompt never gives the same film twice either.
  • The prompt asks the agent to listen to its soundtrack, but Claude and Codex both reported they could only measure the sound, not hear it. Listen to the mix yourself.
  • Free, with paid extras you don't need: HyperFrames Studio has a $25-a-month Pro plan, Motion sells Motion+ extras, and the React Bits licence stops you reselling its components.

Sources

  1. HyperFrames (heygen-com/hyperframes)
  2. Three.js
  3. GSAP
  4. FFmpeg
  5. Postprocessing (pmndrs/postprocessing)
  6. React Three Rapier (pmndrs/react-three-rapier)
  7. Flubber (veltman/flubber)
  8. Blender
  9. Motion
  10. React Bits
  11. Taste Skill (Leonxlnx/taste-skill)