wireframe-portal-title
它能做什么
这是一个现成的 HyperFrames 标题模块,带有线框文字效果。适合希望制作科技感、分两阶段揭示的动画标题的视频制作者。
适用场景
- ✓当你想要一个科技感标题,线框文字迸开后显示出文字时。
- ✓当你需要在同一场景中用第二句话替换第一句话时。
- ✓当你想要一个可以填入自己文字的现成标题模块时。
技能链接
https://github.com/heygen-com/hyperframes/blob/main/registry/blocks/wireframe-portal-title/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的视频制作一个线框标题,先显示 Breakthrough,然后变为 Let us build。”
每周 5 个新技能,1 分钟读完。
工作原理
该模块以可编辑的源文件形式安装。文字以线框绘制,迸开后切换为第二句话,第二句话会按词换行,并自动调整大小以适应画面。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Wireframe Portal Title
Extruded wireframe letterforms are built from the bundled Geist face with a TTF loader and polygon offsetting, then revealed through a portal burst whose chaos is a variable. A second beat swaps the letters into a replacement phrase with whole-word wrapping and auto type size, staggered with a tunable easing curve and settle glitch, with optional depth fog.
Composition id: wireframe-portal-title. Duration 8 s at 30 fps, 1920×1080.
Files
wireframe-portal-title.html(63 KB)assets/fonts/Geist-Bold.ttf(65 KB)assets/fonts/Geist-Regular.ttf(65 KB)assets/fonts/Geist-SemiBold.ttf(65 KB)assets/fonts/Geist-OFL.txt(4 KB)
Install
Install with npx hyperframes add wireframe-portal-title; by default the files above land under compositions/wireframe-portal-title/. Then mount the block from the host index.html:
<div
data-composition-id="wireframe-portal-title"
data-composition-src="compositions/wireframe-portal-title/wireframe-portal-title.html"
data-start="0"
data-duration="8"
data-track-index="1"
data-width="1920"
data-height="1080"
></div>
Render with custom values by targeting the composition file directly:
npx --yes hyperframes@0.8.12 render 'compositions/wireframe-portal-title/wireframe-portal-title.html' --variables '{"title":"BREAKTHROUGH","replacementPhrase":"Lets do this sir!"}'
Variables
Read at runtime via window.__hyperframes.getVariables(); declared on the composition root as data-composition-variables (single-quoted attribute, plain JSON).
| id | type | default | label / range |
|---|---|---|---|
title |
string | "BREAKTHROUGH" |
Title max 18 chars |
replacementPhrase |
string | "Lets do this sir!" |
3D replacement phrase (auto layout) |
phraseDuration |
number | 1.85 |
Phrase transition duration (s) 0.65–2.9 step 0.05 |
phraseEasing |
number | 8 |
Transition easing (1 gentle – 8 snap) 1–8 step 0.25 |
settleGlitch |
number | 0.2 |
Letter settle glitch strength 0–4 step 0.05 |
depthFog |
boolean | true |
Depth fog (early fade always on) |
subtitle |
string | "HYPERFRAMES PORTAL TITLE" |
Subtitle max 48 chars |
accent |
color | "#F5C518" |
Accent |
burstChaos |
number | 1 |
Burst chaos (0-2) 0–2 step 0.01 |
Runtime contract
- One paused GSAP timeline registered as
window.__timelines["wireframe-portal-title"]. - Re-syncs on the
hf-seekCustomEvent; every frame is a closed-form function of time (seeded PRNG only, no rAF loops, no Date.now). - Renderer: three.js 0.181.2, GSAP 3.14.2, Canvas 2D, GLSL shaders, Post-processing, Seeded PRNG, Clipper. Budget roughly 350 MB per live instance; run one at a time.
- External runtime dependencies:
https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js,https://cdn.jsdelivr.net/npm/clipper-lib@6.4.2/clipper.js,https://cdn.jsdelivr.net/npm/three@0.181.2/build/three.module.js,https://cdn.jsdelivr.net/npm/three@0.181.2/examples/jsm/. - Local fonts: assets/fonts/Geist-Regular.ttf, assets/fonts/Geist-SemiBold.ttf, assets/fonts/Geist-Bold.ttf.
Editing rules (from the source project)
- Keep
data-composition-variablesa single-quoted attribute with plain"JSON. Never save it through Studio's Design panel. - Do not put
<canvas>in static markup; create it at runtime. - Keep every visual state a function of t; seek-safety is what makes the block renderable.
常见问题
这个场景有多长?
时长为 8 秒,每秒 30 帧,分辨率 1920 × 1080。
第二句话能放进屏幕吗?
可以。替换的文字会按词换行,并自动调整大小以适应画面。
我能修改什么?
你可以修改标题、替换文字、迸发的混乱程度,以及大约九项设置。
详情
作者的原始描述
A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.
repo: heygen-com/hyperframes
热度
- GitHub 星标
- 78k
- 排名
- #1738
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
captions-overlay
78k指导你的智能体以叠加方式为视频添加字幕,决定哪些口播内容需要删除、放在字幕条上,或作为重点突出显示。
cut-the-curve
78k教你的智能体使用 HyperFrames 视频中的转场效果,例如流畅的场景切换、推进式穿越和错落的文字入场。
motion-doctrine
78k为你的智能体提供核心规则,使多场景视频像一个连续的镜头移动,而不是一张张分开的幻灯片。
oversized-cursor
78k教你的智能体在视频中加入一个大号的动画指针,引导观众的视线,并让点击看起来像是引发了下一步动作。