Communitygithub.com

3D 标题序列

使用 Claude Code 和 Three.js 在代码中构建一个电影感 3D 标题序列(8-15 秒)。镜头穿过一个灯光场景,例如一条夜晚的雨街,品牌名称作为霓虹灯牌,最后一个大问题或标题落地。适用于需要令人无法划走的开场或电影风格片头的场景。

3D 标题序列 是什么?

此技能用于在代码中创建电影感 3D 标题序列,时长通常为 8-15 秒,适用于需要吸引观众注意力的开场。它基于 Three.js 构建,支持 Claude Code、Coder 等 AI 编码助手。技能首先要求用户提供四个关键元素:最终出现的标题文字、场景设定(如夜晚雨街、空办公室等)、场景中的物体(品牌 logo 或名称作为灯光标志),以及品牌颜色和尺寸。然后生成一个自包含的 HTML 文件,包含 3D 场景、摄像机动画、光照、雨效、文本标题以及可选的声音配乐。技能强调每个帧必须基于时间计算,而非随机数,以保证可复现性。它还包括严格的审查规则:声音不可省略、画面必须使用卡片或图像而非线条、logo 必须完整填充卡片、布局必须对称、前 3 秒必须惊艳。最后通过 HyperFrames 工具导出为视频或 GIF,用于社交媒体、邮件或演示。

兼容平台✓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 标题序列,用代码构建

前三秒决定是否有人会看下去。这个技能构建一个简短的电影感开场:镜头穿过一个灯光 3D 场景,最终以你的问题或标题结束。

开始之前: 如果存在 brand.md 和 MOTION.md,请先阅读它们。如果不存在,请先运行 brand-intake,或者要求提供十六进制颜色代码、字体和 logo 文件。在没有这些之前,绝不要声称结果是符合品牌的。

第 1 步:询问四件事,然后等待

  1. 最后出现的文字行。例如:“为什么每个品牌 logo 现在看起来都一样?”
  2. 世界。一个符合故事背景的场景:夜晚街道、空办公室、凌晨 5 点的办公桌、舞台。默认:夜晚雨街。
  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 文件绘制到画布纹理上,贴到一个平面上,并给予柔和的光晕效果(UnrealBloomPass,微妙,不要过度)。

摄像机:一个缓慢、稳定的向前推轨并略微上仰,穿过灯牌。没有晃动,没有旋转。

标题:在最后三分之一处,[LINE] 以粗体紧凑字体出现,位于左下角,白色,其中 [KEY WORDS] 用 [ACCENT] 色。确保标题下方的地面足够暗,使得反射不会透过字母显示。

声音(可选):低沉的嗡嗡声加上柔和的雨声,用代码编写,在前一秒内淡入。

构建规则:每一帧都仅根据时间计算,包括雨效(使用种子随机,绝不要在渲染时使用 Math.random)。添加 window.seek(seconds)。当 URL 包含 ?render 时等待 seek。

构建完成后:在第 1 秒、中间和最后一秒截取帧。检查每个灯牌在手机尺寸下是否可读,没有镜像出现在标题后面,且每个 logo 与其文件匹配。

第 3 步:检查

  • 第一秒看起来是否已经像电影,而不是幻灯片?
  • 标题在手机上是否可读?
  • 小标签(日期、说明文字)的尺寸是否至少是你认为需要的两倍?

第 4 步:导出

HyperFrames(免费,开源):npx skills add heygen-com/hyperframes,然后 npx hyperframes render。对于邮件或新闻简报,同时制作一个 9 秒的 GIF,小于 5MB(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

相关技能