跳到正文
Skillpedia
动效与动画78k · #1738

wireframe-portal-title

它能做什么

这是一个现成的 HyperFrames 标题模块,带有线框文字效果。适合希望制作科技感、分两阶段揭示的动画标题的视频制作者。

适用场景

  • ✓当你想要一个科技感标题,线框文字迸开后显示出文字时。
  • ✓当你需要在同一场景中用第二句话替换第一句话时。
  • ✓当你想要一个可以填入自己文字的现成标题模块时。

技能链接

https://github.com/heygen-com/hyperframes/blob/main/registry/blocks/wireframe-portal-title/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/heygen-com/hyperframes/blob/main/registry/blocks/wireframe-portal-title/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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-seek CustomEvent; 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)

  1. Keep data-composition-variables a single-quoted attribute with plain " JSON. Never save it through Studio's Design panel.
  2. Do not put <canvas> in static markup; create it at runtime.
  3. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能