Communitygithub.com

title-sequence-3d

用程式碼搭配 Claude Code 和 Three.js 製作電影級 3D 片頭序列(8-15 秒)。鏡頭穿過打光的場景,例如夜晚的雨街,品牌名稱化為霓虹招牌,最後一個大問題或標題落下。當有人想要一個能瞬間抓住目光的開場、電影風格片頭時使用。

title-sequence-3d 是什麼?

這項技能讓開發者與 AI agent 共同製作自訂的 3D 片頭序列,長度約 8-15 秒,適合用於說明影片、品牌內容或社交媒體貼文。它會引導使用者建立一個具有結構化、電影感的開場:鏡頭穩定地穿過打光場景(如低多邊形城市夜景),並在最後呈現關鍵問題或標題。技能要求先讀取品牌素材(`brand.md` 與 `MOTION.md`),如果缺少則執行 `brand-intake` 步驟。主要輸出是一個獨立 HTML 檔案 `index.html`,使用 Three.js 與 UnrealBloomPass 建置,並包含音效(低頻墊音與雨聲)、種子亂數(確保時間決定每幀)以及 `window.seek(seconds)` 以支援渲染目標。產生後必須檢查手機可讀性,並可透過 `npx hyperframes render` 匯出高畫質影片或小於 5MB 的 GIF。這項技能支援 Claude Code、Cursor 等工具,並強調整齊的對稱排版、Logo 正確填充以及從第一秒就必須令人驚艷的品質要求。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/charlie947/motion-graphics-skills/tree/main/skills/title-sequence-3d

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

3D 片頭序列,以程式碼建置

前 3 秒決定有沒有人會看下去。這項技能建構一個短暫的電影感開場:鏡頭穿過打光的 3D 場景,最後停在您的問題或標題上。

開始之前: 如果 brand.md 和 MOTION.md 存在,請先閱讀它們。如果不存在,請先執行 brand-intake,或詢問色碼、字型和 Logo 檔案。未取得這些資訊前,切勿直接稱呼結果為「符合品牌」。

步驟 1:詢問四件事,然後等待

  1. 最終出現的一行文字。 範例:「為什麼每個品牌 Logo 現在看起來都一樣?」
  2. 場景世界。 一個符合故事設定的場景:夜街、空辦公室、凌晨五點的書桌、舞台。預設:夜晚的雨街。
  3. 場景中的物件。 真實名稱或 Logo 作為招牌、螢幕或海報。需附上 Logo 檔案,絕不能憑記憶重繪。
  4. 品牌與尺寸。 一個重點詞的強調色。1920 x 1080 或 1080 x 1920。

審查規則(來自被拒絕的迭代)

  • 音效不是選項。 無聲的說明影片會顯得未完成。用程式碼編寫配樂:低音墊音、每次鏡頭切換時加入重擊、最後一行文字時提升氣氛。
  • 用卡片與圖像,而非線條。 單一橫條或線條在螢幕上移動會顯得靜態。每個鏡頭應使用卡片、真實圖片或會在有深度的空間中移動的物件。
  • Logo 填滿其卡片,並使用真實檔案。Logo 在大型方框中縮小漂浮會顯得很奇怪。
  • 保持網格對稱。 卡片尺寸相等、間距相等。不對稱的佈局會讓人覺得是失誤。
  • 不令人驚艷就不算完成。 如果前 3 秒無法讓你自己停下手指,就先重建它們,再繼續其餘部分。

步驟 2:建置簡報(貼入 Claude Code)

建立一個自包含的 HTML 檔案,名為 index.html:[SECONDS] 秒的電影級 3D 片頭序列,尺寸為 [WIDTH] x [HEIGHT],使用固定版本的 Three.js,且僅使用我附加的檔案。

場景:[WORLD]。低多邊形建築物、潮濕的反光地面、細雨。我附加的每個物件都變成發光招牌:將 Logo 檔案繪製到 Canvas 紋理上,放在平面 (plane) 上,並賦予柔和的泛光效果(UnrealBloomPass,要低調,不可過曝)。

鏡頭:一個緩慢、穩定的向前推軌並稍微向上,穿過招牌。沒有晃動,沒有旋轉。

標題:在最後三分之一處,[LINE] 以粗體壓縮字型出現,左下角對齊,顏色為白色,其中 [KEY WORDS] 以 [ACCENT] 色顯示。保持標題下方的地面足夠暗,讓反射永遠不會穿透字母顯示出來。

音效(選項):一段低頻嗡嗡聲加上柔和雨聲,以程式碼編寫,並在前 1 秒淡入。

建置規則:每一幀都完全根據時間計算,包括雨(使用種子亂數,絕不在渲染時使用 Math.random)。加入 window.seek(seconds)。當網址包含 ?render 時,等待 seek 完成。

建置完成後:擷取第 1 秒、中間以及最後一秒的畫面。檢查每個招牌在手機尺寸下是否可讀,沒有任何鏡像內容位於標題後方,且每個 Logo 都與其檔案相符。

步驟 3:檢查

  • 第一秒已經像電影,而不是投影片嗎?
  • 標題在手機上可以讀嗎?
  • 小標籤(日期、說明文字)至少是你認為所需尺寸的兩倍嗎?

步驟 4:匯出

HyperFrames(免費、開源):npx skills add heygen-com/hyperframes,然後執行 npx hyperframes render。若用於電子郵件或電子報,另外製作一個 9 秒、小於 5MB 的 GIF(8fps,寬度 540px,輕微降噪以便雨絲壓縮)。

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

animated-chart

Make a looping animated chart for LinkedIn or a newsletter in code with Claude Code. Bars that become a line, a number that counts up, a before and after. Every value stays exactly as given. Use when someone says

apple-launch-film

Rebuild an Apple-style Mac launch film entirely in code with Claude Code. A thin menu bar, the black notch growing into widgets one scene at a time, full-screen gradient wallpapers and one short caption per scene. No screen recording, no After Effects. Use when someone says

brand-intake

The setup step every other skill in this pack reads. A short interview plus 3 to 5 reference frames becomes two files in your project, brand.md (who you are, what you sell, your assets) and MOTION.md (your colours, type, timing and motion rules), plus a rule in CLAUDE.md so Claude reads them before it animates anything. Use at the start of any motion project, or when someone says

launch-video

Make a 30-45 second product launch video in code with Claude Code, the kind SaaS companies post on launch day. One sentence split across scenes, real product screens with slow camera moves, a typed prompt, a proof beat and a clear call to action. Use when someone says

loop-cover

Turn a newsletter or blog cover into a seamless looping GIF at 896 x 640, 180 frames at 20fps. Only the one element you name moves, the loop is rotated so frame 1 shows the finished picture, and the seam is measured, not eyeballed. Use when someone says

milestone-reveal

Make a 12-second looping milestone clip in code with Claude Code. Thousands of tiny points drift like a night sky, pull together into your real number (followers, subscribers, revenue, customers), a line draws underneath and the label settles in. Premium, not a party. Use when someone says

model-showdown

Give the same motion brief to three AI models, keep each first try, render all three the same way and stack them into one comparison video with model names and logos. Makes a 16:9 side-by-side for a newsletter and a 1080 x 1920 stacked reel for Instagram and TikTok. Use when someone says

motion-brief-writer

Turns a rough idea for an animated graphic into a precise build brief for Claude Code, in your own brand. Asks for anything essential first (exact numbers, size, length, brand), keeps real results apart from sample data, and never invents a figure. Use when someone says

motion-effects

Build any of 16 premium motion effects from scratch in your own brand, as one 8-second looping HTML file with window.seek(seconds) so it exports frame-exact to MP4 or GIF. Interfaces (button to player, search to results, card to workspace, tabs to panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo). Use when someone says

motion-prompt-writer

Write a complete 8-part Claude Motion prompt (The bar, Format, The one rule, Look, Motion, Never, Before you finish, The scene) for one short looping motion graphic, in your own brand. Takes your brand (a website screenshot, a logo, hex codes, or nothing for the Apple-style default) and one moment you want to show, in plain words. Use when someone says

newsletter-promo

Turn a newsletter edition into a 12-20 second promo clip for LinkedIn, Instagram or X that drives people to read and subscribe. Hook question, three proof frames from the edition, then the newsletter name and where to read it. Use when someone says

reel-export

Turn any horizontal or square motion video into a 1080 x 1920 Instagram Reel or TikTok that uploads cleanly. Headline and logos inside the safe zone, H.264, yuv420p, limited colour range, bt709, a silent audio track when there is no sound, and an ffprobe check before upload. Use when someone says

reference-to-motion

Turn references you admire into a scene-by-scene Claude Motion prompt for your own topic and brand. Takes a video for the moves (screenshots, frames or a contact sheet of a reel or ad) and, optionally, a look reference for the style (a website, a brand, a moodboard). Use when someone says

vox-explainer

Make a short Vox-style documentary explainer (30-60 seconds) entirely in code with Claude Code. Torn paper, halftone texture, bold condensed type, motion on twos. Use when someone says

相關技能