All Opus 5.5 videos › Motion graphics

Pure-code motion design loop of morphing UI states with sound sync

by Mareep (@0xMareep) · Oct 19, 2026

Prompt

The author shared the full prompt.

Ask me for: 8 to 12 UI states I want the shape to morph into (e.g. button, loader, player, slider, toggle, tabs, chart, command palette, toast), black and white or a single accent color, and a royalty-free song around 120 BPM (e.g. Mixkit, free for commercial use).
</inputs>

<direction>
Dribbble-level UI motion. One shape, zero cuts: every state is the same element morphing its size, radius and color while its content swaps with a short blur.
A cursor drives every change with real clicks and drags. Light warm-gray canvas, black and white components, one clean UI font (Geist).
Springs everywhere, with just a tiny overshoot. The camera zooms so each state fills the entire frame. The final frame matches the first frame, so it loops perfectly.
Banned: bouncy easing, particle bursts, glows, gradients on UI chrome, mismatched icon strokes, dead time, anything that looks like a template.
</direction>

<structure>
120 BPM, 7 bars, something happens on every beat.
Button → loader → check → dynamic island → music player with a play/pause morph → scrub the progress bar → it transforms into a volume slider that stretches when dragged past max → a toggle flips on the beat → the knob becomes a liquid tab indicator → the tabs expand into a chart that draws itself, with a tooltip on hover → it collapses into ⌘K → type to filter → enter → toast → back to the button.
</structure>

<build>
One HTML file, square 1440x1440. Every style is computed from time inside seek(t): no CSS transitions, no timers, no state carried between frames.
Springs use closed-form step responses. A value that changes targets multiple times is the sum of one spring per change, so it stays a pure function of time.
The tab indicator's two edges follow separate springs, so the leading edge stretches ahead of the trailing one. Use the same trick for the toggle knob.
Drags use direct manipulation: while the cursor is held, the value is calculated from its position. On release it springs back from wherever it was.
Analyze the song with numpy to find the beat grid and start on a downbeat. Align every UI sound by its measured peak.
Render with Playwright: 4 subframes per frame, blended with ffmpeg tmix for motion blur at 60fps.
Render one frame per beat before the full render. Fix anything off the grid, cramped or hard to read.
</build>

<gotchas>
Never put will-change on anything the camera scales or the text renders blurry.
Text that swaps inside a morphing container needs its own enter and exit timing or it overlaps.
Make the last frame identical to the first, including cursor position and speed, or the loop stutters.
</gotchas>

<start>
Ask me for the inputs, then show me the state list on the beat grid before writing any code.
Prompt by @0xMareep, from the post
Category
Motion graphics
Stack
Canvas, Python
Made with
Playwright, ffmpeg, numpy
From the author
Rendered with Playwright; 4 subframes per frame; 60fps motion blur.
On X
21 likes · 607 views · 16 saves

Same prompt, other results

Motion graphicsPrompt0:14

Dribbble-style UI morph sequence looping through buttons, sliders, charts, and command palette

@twoclipping♥ 13K
Python
Motion graphicsPrompt0:14

Pure-code morphing UI motion design loop

@0xAiky♥ 170
Canvas
Motion graphicsPrompt0:14

One-file looping UI motion design reel with morphing components

@RaphaelAubryy♥ 41
Web AudioCanvasCSS
Motion graphicsPrompt0:14

Dribbble-style UI motion sequence of one shape morphing through states

@0xPontiuz♥ 30
Motion graphicsPrompt0:14

One-file 1440×1440 UI morphing sequence with beat-synced state changes

@jasonugc♥ 29
AI videoPython

More motion graphics

Motion graphicsPrompt0:15

15-second motion graphics showreel for a motion designer résumé

@stephanlivera♥ 17K
Motion graphicsPrompt0:14

Dribbble-style UI morph sequence looping through buttons, sliders, charts, and command palette

@twoclipping♥ 13K
Python
Motion graphicsPrompt0:32

Dynamic 15-second motion graphics showreel comparison

@shneural♥ 6.8K
Blender
Motion graphicsPrompt0:15

15-second motion graphics showreel for a designer résumé

@kenn♥ 4.7K
Motion graphicsPrompt0:15

15-second motion graphics showreel for a résumé

@ajith_io♥ 4.2K
Remotion
Motion graphicsPrompt1:00

Clawd animation with custom 3D renderer and sound effects

@LexnLin♥ 2.8K
Three.js
Motion graphicsPrompt0:15

15-second high-energy motion graphics portfolio reel

@crvdesign0♥ 2.8K
Motion graphicsPrompt0:24

After Effects motion design video with speaker rings and a bird scene

@johncodunayo♥ 2.6K
After Effects