---
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/fa/videos/one-shape-morphs-through-a-dozen-ui-states-on-beat"
language: "fa"
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/fa/videos/visual-system.md)
- توسط twoclipping
- مدت و نسبت: 0:14 · 1:1
- ساخته‌شده با: FFmpeg, HTML, NumPy, Playwright, SVG
- منتشرشده در 24 سپتامبر 2026
- دیدن نسخه اصلی: 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 است. 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 است.

### پرامپت 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 ویدیو، هر کدام با پرامپت، مشخصات و منبع.
