ai21.net
言語

<inputs>

<inputs> — 1

プロンプト

<inputs>
Ask me for: a one-word product name for the wordmark, one accent color, and a royalty-free track around 120 BPM (e.g. Mixkit, free for commercial use).
</inputs>

<direction>
Product-launch UI motion in one continuous take. One shape tells the whole story: a prompt bar becomes a button, the button becomes a progress ring, the ring becomes a preview window, the window fills the screen, then shrinks into a toast and back into the prompt bar. No cuts, no fades between scenes: objects transform. A cursor triggers every change with real clicks. Warm off-white canvas, black UI, one accent color, Inter for UI and the wordmark. Springs everywhere with only a slight overshoot. Zoom the camera so each moment fills the square.
Banned: crossfades, gradients on UI, particles, glows, bouncy easing, dead beats, anything that feels like a template.
</direction>

<structure>
120 BPM, 24 beats, something happens on every beat.
Type the request into the prompt bar → click send → the bar collapses into a black circle → a progress ring fills in four steps while four chips spring out (concept, storyboard, motion, sound) → the chips fly into a timeline and the circle becomes a preview window → a playhead sweeps the clips → inside the preview an orbit draws itself, a planet starts moving and the wordmark rises letter by letter from a mask line → the preview fills the screen → the letters drop away, the planet flies into a toast and becomes its checkmark → "Rendered in code · 60 fps" → the toast turns back into an empty prompt bar. Last frame = first frame.
</structure>

<build>
1. One HTML file with a 1440x1440 canvas. Draw everything inside seek(t): no CSS transitions, timers or state carried between frames.
2. Use closed-form spring step responses. When a value changes target several times, add one spring per change so it stays a pure function of time.
3. The main shape is one rounded rect whose width, height, radius, position and color are each a chain of springs.
4. Typing is derived from time: characters shown = floor(progress × length), with a caret that blinks only when idle.
5. Find the beat grid of the track, start on a downbeat and place every click, pop and chime on its measured peak.
6. Render with Playwright at 60 fps, then encode H.264 CRF 16 and loudnorm to -14 LUFS.
7. Render one still per beat first. Fix anything cramped, off-grid or hard to read before the full render.
</build>

<gotchas>
Text inside a morphing shape needs its own clip and separate enter/exit timing. Text swaps need their own fade so they never overlap. The cursor must end at the exact position it started, or the loop will stutter.
</gotchas>

日本語訳

<inputs>
私に次のものを聞いてください:ワードマーク用の1語の製品名、アクセントカラー1色、120 BPM前後のロイヤリティフリー楽曲(例:Mixkit、商用利用無料)。
</inputs>

<direction>
ワンカットの製品ローンチUIモーション。1つの形が物語のすべてを語ります:プロンプトバーがボタンになり、ボタンがプログレスリングになり、リングがプレビューウィンドウになり、ウィンドウが画面いっぱいに広がり、その後トーストへ縮んでプロンプトバーに戻ります。シーン間のカットもフェードもなし:オブジェクトが変形します。カーソルが実際のクリックで毎回の変化を起こします。温かいオフホワイトのキャンバス、黒いUI、アクセントカラー1色、UIとワードマークにはInter。どこにでもスプリングを使い、オーバーシュートはほんの少しだけ。カメラをズームして、各瞬間が正方形を満たすようにします。
禁止:クロスフェード、UI上のグラデーション、パーティクル、グロー、弾むイージング、死んだビート、テンプレートのように感じるものすべて。
</direction>

<structure>
120 BPM、24ビート、毎ビートで何かが起こります。
プロンプトバーにリクエストを入力 → 送信をクリック → バーが黒い円へ折りたたまれる → 4つのチップがスプリングで飛び出す間(コンセプト、ストーリーボード、モーション、サウンド)、プログレスリングが4ステップで満ちる → チップがタイムラインへ飛び、円がプレビューウィンドウになる → プレイヘッドがクリップをなぞる → プレビュー内で軌道が自ら描かれ、惑星が動き始め、ワードマークがマスクラインから1文字ずつ立ち上がる → プレビューが画面を満たす → 文字が落ちて消え、惑星がトーストへ飛んでそのチェックマークになる → 「Rendered in code · 60 fps」→ トーストが空のプロンプトバーへ戻る。最終フレーム=最初のフレーム。
</structure>

<build>
1. 1440x1440のキャンバスを備えたHTMLファイル1つ。すべてをseek(t)の中で描画:CSSトランジション、タイマー、フレーム間で持ち越す状態はなし。
2. 閉形式のスプリングステップ応答を使う。値が何度もターゲットを変える場合は、変更ごとにスプリングを1つ追加し、時間の純粋関数のままにする。
3. メインの形は1つの角丸矩形で、幅、高さ、半径、位置、色がそれぞれスプリングの連鎖になっている。
4. タイピングは時間から導出:表示文字数 = floor(progress × length)。キャレットはアイドル時のみ点滅する。
5. トラックのビートグリッドを見つけ、ダウンビートから開始し、すべてのクリック、ポップ、チャイムを計測したピークに配置する。
6. Playwrightで60 fpsでレンダリングし、その後H.264 CRF 16とloudnormで-14 LUFSにエンコードする。
7. まず1ビートにつき1枚のスチルをレンダリングする。本番レンダリングの前に、窮屈なもの、グリッドから外れたもの、読みにくいものを修正する。
</build>

<gotchas>
変形する形の中のテキストには、独自のクリップと個別のイン/アウトのタイミングが必要です。テキストの入れ替えには独自のフェードが必要で、決して重なってはいけません。カーソルは開始した正確な位置で終わらなければなりません。そうでないとループが途切れます。
</gotchas>

出典

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