How to Create a Retro 80s Synthwave Animation with Claude Opus (Free Prompt)

·9 min read·Video made with Claude Opus 5.5

Claude Opus 5.5 made this 20-second synthwave animation from a single prompt. It drew the neon grid, the striped sun, the car and the chrome title in code and composed the soundtrack the same way, then rendered it all to an MP4 with headless Chrome and ffmpeg. There's no video model, no image files, no audio samples and not even a font. Here's the exact prompt, so you can make your own.

The prompt2,336 chars
Make a 20-second retro 80s synthwave animation, written entirely in code.

SCENE
A sports car drives down an endless neon grid toward a huge setting sun. Night is falling: a deep purple sky that fades to hot pink at the horizon, the first stars coming out, wireframe mountains in the distance and palm-tree silhouettes along the road.

LOOK
Sun: a big disc with a yellow-to-pink gradient, cut by horizontal bands that get thicker toward the bottom.
Grid: glowing magenta lines on a black floor, in perspective, scrolling toward the camera.
Car: a low, wide 1980s wedge-shaped sports car seen from behind, with glowing red taillights reflected on the floor.
Colours: midnight purple (#1A0B2E), magenta (#FF2E88), cyan (#2DE2E6) and sunset orange (#FF9A3C).
Finish: neon bloom, faint scanlines, a touch of chromatic aberration and film grain, like an old VHS tape.
Title: "MIDNIGHT RUN" in chrome 80s lettering, with "the night is young" underneath in glowing pink handwritten script. Big enough to read on a phone.

STRUCTURE (1920×1080, 30 fps, 20 seconds)
0–5 s: Darkness. A horizon line draws itself across the screen, the grid unrolls out of it toward the camera and the sun fades up, already low in the sky.
5–10 s: The car rushes in from below the camera and settles into the middle of the road, driving away from us. The grid speeds up.
10–15 s: The camera drifts low and to one side, the mountains and palm trees slide past in parallax, and the grid lines flash on every kick drum.
15–20 s: The title slams in with a lens flare and the script writes itself on. The car shrinks to a dot against the sun. Hold the last second.

MUSIC
Compose an original synthwave track in code at 96 BPM, so every bar is exactly 2.5 seconds and each section above is two bars: a gated-reverb snare, a pulsing sixteenth-note bass, a wide detuned pad, and a simple lead melody that comes in at 10 s. The title hits on the downbeat at 15 s.

OUTPUT
Draw everything in code, with no image files and no audio samples. Build it as one self-contained HTML file driven by a frame number rather than a real-time clock, so every frame is deterministic (seed any randomness, including the grain). Render every frame with headless Chrome, render the soundtrack to WAV, and encode an H.264 MP4 with AAC audio using ffmpeg. Also export a poster frame as a PNG.

We ran this prompt once, in a fresh Claude Code session with Claude Opus 5.5, and published what came out. We didn’t edit the video or the code. The one thing we did was compress the finished file for the web: Claude’s MP4 was 56 MB, and the one above is 18 MB.

What you need

  • Claude Code, or any Claude Opus 5.5 setup that can run commands on your computer. Claude writes the animation, then renders it on your machine.
  • Google Chrome and ffmpeg. On a Mac, brew install ffmpeg covers the second one.
  • About an hour. Our run took 62 minutes from prompt to finished MP4. Most of that is Claude checking its own frames and fixing what it finds; once it’s built, a full re-render takes under a minute and a half.

In the Claude apps without a terminal you can still get the HTML file and watch it in your browser. You just can’t turn it into an MP4 there.

How to use the prompt

  1. Copy the prompt and change the Title line to your own words. Swap the car for something else if you like (a motorbike, a hovercraft, a lone runner) and leave the rest alone.
  2. Paste it into Claude Code in an empty folder. Claude writes one HTML file, checks test frames, then renders all 600 frames and the soundtrack and encodes the MP4.
  3. Preview it in your browser. Claude’s page had a scrubber and a “Play with sound” button, and adding ?t=12.5 to the address jumped straight to 12.5 seconds. Ask for the same if yours doesn’t.
  4. Ask for changes in plain words: “make the sun bigger”, “less grain”, “slow the car down”. Claude edits the file and renders again.

Why this prompt works

It lists every piece of the look. Synthwave is a short list of signs: a striped sun, a magenta grid, a purple-to-pink sky, chrome lettering, worn VHS tape. The LOOK block gives each one its own line and pins the colours to hex codes, so Claude doesn’t have to guess what “80s” means.

The tempo sets the edit. At 96 BPM a beat lasts 0.625 seconds and a bar exactly 2.5, so each 5-second section is two bars and every change lands on the first beat of a bar. Claude computed the picture’s kick times from the same formula as the music’s, which is how the grid flashes on every kick from 10 to 15 seconds and the title lands on frame 450, at exactly 15.000 seconds. (In our product launch video, 3-second sections at 120 BPM put two cuts in the middle of a bar. This prompt fixes that.)

“Seed any randomness, including the grain.” Grain, twinkling stars and VHS jitter are random by nature. Seeded from the frame number, frame 300 looks the same every time it’s drawn, so Claude could render with four Chrome tabs at once and re-render any single frame to check it.

“No image files and no audio samples.” Everything has to be built from code, so everything stays editable. The car, the title and the chords are all code in one file, and asking for a different car or a different key changes that code. There are no assets to hunt down.

Each section gives the camera a job. “Rushes in from below the camera” and “drifts low and to one side” keep the shot moving, so it never sits still like a wallpaper.

What Claude built

  • One HTML file of about 1,600 lines, with no images, fonts or libraries:
    • The sky, sun, stars and grid are one WebGL shader. For every pixel it works out where your line of sight hits the floor and draws the grid there, smoothing the lines so they don’t shimmer in the distance. Claude kept the grid moving slower than half a cell per frame, so the lines never seem to roll backwards like wagon wheels in an old film.
    • The car is a low-poly 3D model drawn in 2D canvas, back to front. It has slatted taillights, quad exhausts, a rear wing, Testarossa-style side strakes and spinning wheels, with its taillights streaking red across the floor.
    • The scenery is two ranges of wireframe mountains plus palm silhouettes with swaying fronds that fade into the haze.
    • “MIDNIGHT RUN” isn’t set in a font. Claude built each letter from geometric strokes, then added a chrome gradient, a 3D extrusion and a bevel highlight. The script line is a single neon stroke that Claude plotted point by point, so it genuinely writes itself on, crossing its t’s and dotting its i’s after each word.
    • The VHS finish is bloom, chromatic aberration, 4-pixel scanlines, line jitter, a tracking band that rolls up the screen, a vignette and grain.
  • The soundtrack, written sample by sample in JavaScript. It’s in A minor, cycling Am–F–C–G twice. A four-on-the-floor kick comes in at 5 seconds and makes the bass and pad pump. The snare goes through a big reverb that’s cut off hard, which is the classic 80s gated sound. Over that sit a sixteenth-note bass, a six-voice detuned pad and, from 10 seconds, a gliding saw lead with an echo. There’s also a riser, a whoosh as the car passes and a reversed cymbal into the title hit. The same code plays in the browser preview and writes the WAV file.
  • A render script that drives four headless Chrome pages with Puppeteer, renders the WAV and encodes the MP4 and the poster.

Claude also checked its own work. It re-rendered 16 frames out of order in a fresh browser and compared them byte for byte with the originals. The first attempt failed: canvas settings such as the line-cap style were carrying over from one frame to the next, so a frame depended on which frame had been drawn before it. It reset the canvas at the start of every frame, and the re-rendered frames matched exactly. It also rendered the soundtrack twice and got identical files, and confirmed that the audio in the MP4 lines up with the WAV to the sample.

What Claude said it would improve

Claude’s closing report was candid:

  • It couldn’t hear the music. It balanced the mix by measuring each instrument’s level and the overall loudness instead, ending at -12 LUFS. Listen before you publish; for YouTube or Instagram, ask for -14 LUFS.
  • The car ends up as a tiny dot. By the last second it’s about 14 pixels wide, against the brightest part of the horizon, so it’s easy to miss. Stopping it closer, or dimming the glow behind it, would help.
  • The car looks flat for about five frames as it passes under the camera. It would add motion blur there, and give the palm fronds more detail.
  • Grain makes big files. Random grain is the hardest thing for a video encoder to compress. With Claude’s first grain setting the MP4 came out at 150 to 300 MB, so it turned the grain down to get 56 MB. Keep that in mind before you ask for more.

Make it yours

  • Your own title: change the two pieces of text in the Title line. Short titles in capitals look best in chrome.
  • Vertical, for Reels, TikTok and Shorts: change “1920×1080” to “1080×1920” and ask for the sun higher in the frame and the title above it.
  • A background loop: ask for “a seamless 20-second loop with no title and no car” for a stream or music visualiser.
  • A different palette: “vaporwave pastels: pink, lilac and mint” or “a cyberpunk night: cyan and violet, with rain on the floor”.
  • Your own track: drop the MUSIC block, give Claude your audio file and its BPM, and ask it to time the sections to the bars.
  • Longer: at 96 BPM keep every section a multiple of 2.5 seconds. A 30-second version is twelve bars.

If something looks off

  • Grid lines shimmer or crawl backwards: ask Claude to slow the grid to under half a cell per frame and to smooth the lines with distance.
  • Frames come out slightly different every render: ask, “Is every frame a pure function of the frame number? Reset all canvas state at the start of each frame.”
  • The file is huge: ask for less grain, or a higher CRF in the ffmpeg command (23 is a good start for the web).
  • The title is hard to read on a phone: ask for the title to fill 70% of the frame’s width.

For a different take on the same style, the 80s Synthwave style page has a 10-second film made from a much longer, director-style prompt. There’s no other synthwave film in the directory yet, so below are films whose prompts ask for the same kind of finish, like film grain or a CRT glow, plus a retro racing game.

More like this in the directory