---
title: "One shape morphs through a dozen UI states on beat"
description: "A single shape morphs through twelve UI states on the beat in a looping black-and-white motion piece."
canonical: "https://potto.ai/zh-Hant/videos/one-shape-morphs-through-a-dozen-ui-states-on-beat"
language: "zh-Hant"
datePublished: "2026-09-24"
---

# One shape morphs through a dozen UI states on beat

A single shape morphs through twelve UI states on the beat in a looping black-and-white motion piece.

One shape stays on screen and changes size, radius and color as its content swaps with a short blur, driven by a cursor performing real clicks and drags. States move from a button through a loader, player, slider, toggle, tabs, chart, command palette and toast before returning to the button. Built with HTML, SVG, NumPy, Playwright and FFmpeg, with springs and a light camera zoom so each state fills the frame.

- [視覺系統](https://potto.ai/zh-Hant/videos/visual-system.md)
- 由 twoclipping
- 時長與比例: 0:14 · 1:1
- 製作工具: FFmpeg, HTML, NumPy, Playwright, SVG
- 發布於 2026年9月24日
- 查看原片: https://x.com/twoclipping/status/2103273003555402193

## 提示詞

```text
<inputs>
Ask me for: 8 to 12 UI states I want the shape to become (e.g. button, loader, player, slider, toggle, tabs, chart, command palette, toast), pure black and white or one 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, never cut: 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, a tiny overshoot at most. The camera zooms so each state fills the frame. The last frame is the first frame, so it loops.
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 becomes a volume slider that stretches when dragged past max → a toggle flips on the beat → the knob becomes a liquid tab indicator → the tabs open 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>
1. One HTML file, square 1440x1440. Every style is computed from time inside seek(t): no CSS transitions, no timers, no state carried between frames.
2. Springs are closed-form step responses. A value that changes target many times is the sum of one spring per change, so it stays a pure function of time.
3. The tab indicator's two edges ride different springs, so the leading edge stretches ahead of the trailing one. Same trick for the toggle knob.
4. Drags are direct manipulation: while the cursor is held, the value is computed from its position. On release it springs back from wherever it was.
5. Analyze the song with numpy for the beat grid and start on a downbeat. Place every UI sound by its measured peak.
6. Render with Playwright: 4 subframes per frame, blended with ffmpeg tmix for motion blur at 60fps.
7. 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, cursor position and speed included, or the loop stutters.
</gotchas>

<start>
Ask me for the inputs, then show me the state list on the beat grid before you write any code.
</start>
```

## One shape morphs through a dozen UI states on beat 常見問題

One shape morphs through a dozen UI states on beat 的製作方式、提示詞內容，以及如何用 Potto 做出同類的 視覺系統 影片。

### One shape morphs through a dozen UI states on beat 是什麼？

One shape morphs through a dozen UI states on beat 是 twoclipping 製作的 視覺系統 類型 AI 動態圖形影片。 A single shape morphs through twelve UI states on the beat in a looping black-and-white motion piece.

### One shape morphs through a dozen UI states on beat 是怎麼製作的？

One shape morphs through a dozen UI states on beat 使用 FFmpeg、HTML、NumPy、Playwright和SVG 製作，屬於 Potto 上 視覺系統 分類的 AI Motion Graphics 影片。

### 可以查看 One shape morphs through a dozen UI states on beat 的提示詞嗎？

可以。本頁有 One shape morphs through a dozen UI states on beat 的完整提示詞。你可以複製，或點選「使用此提示詞」，在 Potto 工作區中開啟。

### One shape morphs through a dozen UI states on beat 有多長，畫面比例是多少？

One shape morphs through a dozen UI states on beat 時長為 0:14，畫幅為 1:1。

### 我能用 Potto 做出像 One shape morphs through a dozen UI states on beat 這樣的 視覺系統 影片嗎？

可以。點選「使用此提示詞」，把 One shape morphs through a dozen UI states on beat 的提示詞載入 Potto 工作區。Potto 會算繪自己的版本，匯出前你可以修改文字和風格。

### 在哪裡觀看 One shape morphs through a dozen UI states on beat 的原片？

One shape morphs through a dozen UI states on beat 最初由創作者發布。點擊「查看原片」，即可在新分頁開啟該貼文。

### 在哪裡可以找到更多像 One shape morphs through a dozen UI states on beat 這樣的 視覺系統 影片？

在 Potto 上瀏覽 視覺系統 合集：480 支影片，每支都附有提示詞、規格和來源。
