ai21.net
言語

<inputs>

<inputs> — 1

プロンプト

<inputs> 
Ask me for: 
• my product + URL 
• 8–12 UI states that tell its story 
• the real data shown in each state 
• brand colors + fonts + accent color 
• required formats (1:1, 16:9, 9:16) 
</inputs>

<rules> 
One HTML file. One canvas
One draw(t) function

No CSS transitions
No timers
No state carried between frames

One shape, never cut

Every state is the same element changing size, radius and color while the content swaps

A cursor drives the sequence with real clicks, typing and one drag

Real UI. Real data. No placeholders.

</rules>
<structure> 
120 BPM grid

Something happens on every bea

logo → button → handle field → “is this you?” → loader → pin → globe filling with users → matches → tabs → RSVP → search → logo

</structure>

<motion> 
Closed-form springs everywhere with only a tiny overshoot.

If a value changes target multiple times, sum one spring per change

Content enters after its container starts morphing and leaves before the next morph so text never overlaps

Use a short blur on transitions

Never fade black directly into the accent color. Move an accent element between states instead

Make tab indicators stretch by putting each edge on a different spring

Zoom the camera so every state fills the frame

Make the last frame equal the first so the whole thing loops
</motion>

<export> 
First render one frame per beat as a contact sheet

Fix anything cramped or broken

Then render every frame in headless Chrome at 60fps, averaging 6 subframes for motion blur

Pipe into ffmpeg:
H.264 + yuv420p

Export all aspect ratios in parallel
</export>

motion design is becoming a prompt

日本語訳

<inputs> 
私に次のことを聞いてください: 
• 私の製品 + URL 
• そのストーリーを伝える 8–12 の UI 状態 
• 各状態で表示される実際のデータ 
• ブランドカラー + フォント + アクセントカラー 
• 必要なフォーマット(1:1、16:9、9:16) 
</inputs>

<rules> 
HTML ファイル 1 つ。canvas 1 つ
draw(t) 関数 1 つ

CSS トランジションなし
タイマーなし
フレーム間で状態を持ち越さない

図形は 1 つ、決して切らない

すべての状態は同じ要素で、内容が入れ替わる間にサイズ・半径・色が変化する

カーソルが、実際のクリック、タイピング、1 回のドラッグでシーケンスを進める

本物の UI。本物のデータ。プレースホルダーなし。

</rules>
<structure> 
120 BPM のグリッド

毎拍、何かが起こる

logo → ボタン → ハンドル入力欄 → “is this you?” → ローダー → ピン → ユーザーで埋まっていく地球儀 → マッチ → タブ → RSVP → 検索 → logo

</structure>

<motion> 
どこでも閉形式のスプリングを使い、オーバーシュートはほんのわずかにする。

値がターゲットを複数回変える場合は、変更ごとに 1 つのスプリングを合算する

コンテンツはコンテナがモーフィングを始めた後に登場し、次のモーフの前に消えるので、テキストが重ならない

トランジションには短いブラーを使う

黒からアクセントカラーへ直接フェードさせない。代わりにアクセント要素を状態間で移動させる

タブインジケーターを伸ばすには、各エッジを別々のスプリングに載せる

カメラをズームして、どの状態もフレームを埋めるようにする

最後のフレームを最初のフレームと同じにして、全体がループするようにする
</motion>

<export> 
まず 1 ビートにつき 1 フレームをコンタクトシートとしてレンダリングする

窮屈な箇所や壊れている箇所を修正する

次に、ヘッドレス Chrome で毎フレームを 60fps でレンダリングし、モーションブラー用に 6 サブフレームを平均する

ffmpeg にパイプする:
H.264 + yuv420p

すべてのアスペクト比を並列でエクスポートする
</export>

モーションデザインはプロンプトになりつつある

出典

原作者
verbove
公開日
2026-09-25(由推文 ID 反解)
原典
元の投稿を見る ↗
収録元
yihui-dev/awesome-opus5-5-videos · verbove-268381 · MIT