プロンプトパン

すべて · モーショングラフィック · 製品紹介

622「ひとつの形が最後まで」UI変形ループ — ボタンがローディング・入力欄・結果カード・通知に変わってまたボタンに戻る12秒

ボタンの文字・入力文・結果タイトルを入れると、黒いボタンひとつが途切れずにローディング・入力欄・結果カード・通知に変わり、また同じボタンに戻るアプリ紹介ループMP4ができます。

受け取れるもの

  • 5シーンの縦長ループMP4(120 BPMで12秒、60fps、コードで作った伴奏つき、最後のフレームが最初と同じで継ぎ目なくループ)
  • 文言・タブ・アクセント色・テンポを変えられる設定欄つきHTML
  • コマンド1行で新しいMP4を作るレンダースクリプト
作例 — 項目の例のままClaude Opus 5.5で作った動画(BGMなし)

Claudeで生成
  • Claude Opus 5.5 このAIで作りました

項目を入力

  1. 1項目を入力します
  2. 2プロンプトをコピーします
  3. 3コードを実行できるAI(Claude Opus 5.5・GPT-6 Astra・Gemini Argon)に貼り付けます
  4. 4AIがHTMLを作って自分でレンダリングし、MP4ができます
  5. 5直すときはHTML上部の設定欄を変えて、レンダーのコマンドを1行 再依頼なし
入力例
入力例
入力例
入力例
入力例
入力例
入力例
画面比率

どちらかを選び、サイズを決めてください。

プロンプト全文を見る 7,158文字
Make a short vertical UI motion loop as one self-contained HTML file and render it to MP4. The idea: one shape, never cut. A single black pill button morphs, without any cut or fade, into a loading circle, a check, a text input that types itself, a big result card with tabs, a toast notification, and finally back into the same pill button, so the last frame is the first frame and the video loops forever. A cursor causes every change with real clicks. It must look like a Dribbble-level product motion piece from a top studio, calm and precise. Do the whole job now without asking questions.

[Inputs (use the default when empty)]
Name: "【名前】" — default Promptpan
Button text: "【ボタンの文字】"
Typed request: "【入力文】"
Result title: "【結果タイトル】"
Result line: "【結果のひとこと】"
Three tabs (slash-separated): "【タブ3つ】" — default 画像 / モーション / 音楽
Toast text: "【通知の文言】"
Accent: "【アクセント色】"
  オレンジ = canvas #ECEAE5, ink #111111, card #FFFFFF, accents #FF5A1F, #2E6BFF, #1FB57A
  ブルー = canvas #E9ECF1, ink #0F1115, card #FFFFFF, accents #2E6BFF, #FF5A1F, #E8A800
  パープル = canvas #ECE9F1, ink #121016, card #FFFFFF, accents #7C4DFF, #FF4F8B, #14A898
Tempo: "【テンポ】" — default 120 BPM. Aspect ratio: 出力サイズは1080×1920ピクセル、9:16の縦型にしてください。文字は中央の安全な範囲に収めてください。 (default 9:16).

[The one shape]
Draw the hero as ONE rounded rectangle whose width, height, corner radius, vertical position and darkness are each a chain of closed-form spring step responses (damping about 0.74, a tiny overshoot of 2 to 4 percent, never bouncy). When a value changes target several times, add one spring per change so every frame is a pure function of time. It casts two soft shadows that grow with its height. Everything inside it is clipped to it. Content enters only after the shape has started changing and leaves before the next change, so text never overlaps.

[Timeline in beats — 24 beats, 5 scenes of 4, 6, 6, 4, 4 beats]
Beat 0: the frame is already a finished picture — the black pill with the button text, centered on the warm canvas, the cursor resting at the lower right.
Beat 2: the cursor clicks the pill (it shrinks slightly while pressed, a thin accent ripple spreads from the click). The pill springs into a black circle, a white loading arc spins inside it, then an accent check draws itself stroke by stroke.
Beat 4: the circle stretches into a wide white input bar. A small accent star sits at the left; the request types itself in with a real keystroke rhythm (computed from the frame time, never from motion-blur sub-samples); the caret blinks only when typing stops. At beat 9 a round accent send button with an up arrow springs in at the right end, the cursor travels to it (aiming at where it will be) and clicks it on beat 10.
Beat 10: the input bar grows into a tall white result card. Inside: a large image panel, still a neutral charcoal, with a soft white halftone dot field, the result title rising letter by letter from behind a mask line in a heavy display face, the result line rising under the panel, and a row of three tabs with none selected yet.
Beats 15, 16.5 and 18: the cursor visits the first, second and third tab in order. Each move follows a fixed path that leaves fast, lands softly with a slight arc, pauses a moment, then clicks — never a jittery spring chase. On the first click a black indicator pill pops in under that tab and a small chip with the tab name springs in on the panel; on the next clicks the indicator's leading edge rides a faster spring than its trailing edge, so it stretches toward the new tab and then catches up. Every click opens that tab's accent color like an iris from the clicked tab inside the image panel (ease the iris by area, not radius), and the chip label rolls vertically to the new tab name.
Beat 20: the card shrinks into a black toast with an accent check circle and the toast text.
Beat 22: the toast springs back into the original pill; the button text returns. The cursor glides home to the exact starting position so the loop has no jump.

[Camera]
One camera transform over the whole scene: zoom so each state fills the frame (about 1.2 on the small button, 1.03 on the input, 1.0 on the card, 1.2 on the toast) with eased segments and zoom interpolated in log space; never zoom in and immediately back out. Add a very slight handheld float that fades to zero at the start and end, so the first and last frames match exactly. The camera always keeps moving a little; no part of the video freezes for more than half a second.

[Always-on details]
No timecode, no progress bar, no corner labels, no HUD. Real motion blur on fast moves only (average several sub-frame samples centered on the frame time); text stays crisp. Light film grain. Typefaces: Noto Sans KR for UI and Black Han Sans stretched 1.3x wide for the result title, from Google Fonts. Keep everything inside a 6% safe margin and make every readable line large enough for a phone.

[Sound]
If you can generate music, add a light, bright pop track at the given tempo with soft UI clicks on every click, a pop on the check and a whoosh on the card, muxed into the MP4 as AAC. If you cannot generate audio files with a music model, write the backing track yourself in code instead: synthesize an original instrumental (kick, snare, hi-hats, bass, a chord pad and a light arpeggio, no vocals) at the given tempo with a simple chord loop, sample by sample into a WAV, then mux it into the MP4 as AAC. Never use a placeholder or someone else's recording.

[Build]
One HTML file, everything on a single canvas. The script starts with a `const CONFIG` object holding every input plus fps 60, a seed and loop true. All drawing comes from a pure `seek(t)` — no timers, no CSS animation, randomness only from the seed — so any frame renders identically in any order. A settings panel above the preview (hidden with ?render=1) with Japanese labels: text inputs for every text input, selects for accent, tempo and ratio, play/pause, a scrubber, and a "設定をコピー" button that copies CONFIG as code. Edits re-render instantly.
Write render.mjs: open the page with ?render=1 in headless Chromium (Playwright), wait for document.fonts.ready, step seek(frame / 60) through every frame, screenshot the canvas at 1080 px on the short side, and pipe into ffmpeg (libx264, yuv420p, crf 18) to make motion.mp4. Close the browser at the end. Accept an optional JSON file argument that overrides CONFIG.

[Check before finishing]
Render one still per beat into a contact sheet and look at it: the shape is never replaced or cut, text never overlaps during a morph, every click visibly causes the next state, the indicator stretches ahead, nothing is clipped, and the first and last frames are identical (compare them pixel by pixel). Fix and re-render if anything fails. Finish with the file paths and the single command to re-render after editing settings.

[Final output format]
出力サイズは1080×1920ピクセル、9:16の縦型にしてください。文字は中央の安全な範囲に収めてください。
This selected output format takes priority over any fixed canvas size or aspect ratio elsewhere in this template. Adapt the composition, text zones and margins to the selected canvas without stretching or cropping essential content. Device safe areas apply only when a device is selected. Never print these format instructions on the image.

ほかのカードを見る

使い方・よくある質問

ひとつの形が最後まで — アプリ紹介ループ12秒

黒いボタンひとつが、途切れずに変わり続けます。押すと円に縮んで回り、チェックが描かれ、入力欄に伸びて文章がひとりでに打ち込まれます。送信を押すと大きな結果カードになり、タブを押した場所から新しい色が広がります。最後は通知に縮んで最初のボタンに戻るので、流しっぱなしでも継ぎ目なくループします。アプリ・サービス紹介、予約や注文の案内、リール・ショートの冒頭に。

コードを実行できるAIに貼り付けます

画像AIではなく、コードを書いて実行できるAIに貼り付けるプロンプトです。Claude Opus 5.5は映像と一緒に、コードで作った伴奏(歌なしのシンプルな音楽)まで入れてくれます。音楽モデルがなくても音をコードで計算して作るので、外部サービス・アカウント・費用はかかりません。AIがHTMLを作り、自分でレンダリングしてMP4まで残します。上の例はClaude Opus 5.5で作った映像です。外部サービスの料金と規約は各サービスでご確認ください。

入力のコツ

入力文は、お客さんが実際に打ちそうな一行で(「土曜2時に2名で予約して」)。結果タイトルは短いほど大きく出ます(2〜8文字)。タブは「/」で3つに区切ります。実際にない機能は書かないでください。

直すときは聞き直しません

HTML上部の設定欄で文言・タブ・アクセント色・テンポを変えてすぐプレビューし、「設定をコピー」してレンダーコマンド1行で新しい動画ができます。