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

orbit-card

它能做什么

这是一个现成的 HyperFrames 模块,用于展示环绕运动的单张功能卡片。适合希望以精致的方式突出某一项功能或信息的视频制作者。

适用场景

  • ✓当你想用三维镜头移动突出单张功能卡片时。
  • ✓当你需要一个包含标题、描述和强调色的干净、居中的场景时。
  • ✓当你想要一个可以用自己的文字进行定制的现成环绕场景时。

技能链接

https://github.com/heygen-com/hyperframes/blob/main/registry/blocks/orbit-card/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请为我们的新导出工具制作一张功能卡片,让它在我的视频中绕着球体运动。”

每周 5 个新技能,1 分钟读完。

工作原理

该模块以可编辑的源文件形式安装。卡片进入、以轻微的运动停留、绕球体运动一圈,然后退场。你可以设置标题、描述、强调色和环绕角度。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Orbit Card

One centred feature card with a circular cut-out framing a dot sphere. The card enters from the right (0.25–1.80 s), holds with a subtle bob and depth drift, orbits a full turn around the sphere's centre (smoothstep between 4.97 and 5.97 s), and exits left (7.35–8.55 s). The camera path and card F-curves are exported from the approved Blender rig at 30 fps and interpolated; the sphere keeps its own translation and a constant spin. Title, description, accent and the orbit angle are variables; 180° and 720° work without touching keys.

Composition id: orbit-card. Duration 10 s at 30 fps, 1920×1080.

Files

  • orbit-card.html (3 KB)
  • assets/Archivo-LICENSE.txt (4 KB)
  • assets/Three-LICENSE.txt (1 KB)
  • assets/archivo-regular.ttf (108 KB)
  • assets/archivo-semibold.ttf (109 KB)
  • assets/gsap-3.14.2.min.js (128 KB)
  • assets/GSAP-NOTICE.txt (1 KB)
  • assets/orbit-motion.js (59 KB)
  • assets/orbit-scene.js (8 KB)
  • assets/three.core.min.js (554 KB)
  • assets/three.module.min.js (468 KB)

Install

Install with npx hyperframes add orbit-card; by default the files above land under compositions/orbit-card/. Then mount the block from the host index.html:

<div
  data-composition-id="orbit-card"
  data-composition-src="compositions/orbit-card/orbit-card.html"
  data-start="0"
  data-duration="10"
  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/orbit-card/orbit-card.html' --variables '{"feature1Title":"Always in sync","feature1Desc":"Changes reach every screen the moment they happen."}'

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
feature1Title string "Always in sync" Card title max 28 chars
feature1Desc string "Changes reach every screen the moment they happen." Card description max 110 chars
feature1Accent color "#4cc9ff" Card accent
cardOrbitDegrees number 360 Card orbit degrees -36000–36000 step 1

Runtime contract

  • One paused GSAP timeline registered as window.__timelines["orbit-card"].
  • 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: GSAP.
  • External runtime dependencies: none (served locally).
  • Local fonts: assets/archivo-regular.ttf, assets/archivo-semibold.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.
常见问题

这个场景有多长?

时长为 10 秒,每秒 30 帧,分辨率 1920 × 1080。

我能修改环绕的幅度吗?

可以。环绕角度是一个变量,180 或 720 度等数值都可以使用。

我需要编辑什么?

你需要编辑标题、描述、强调色和环绕角度这四个变量。

详情

作者的原始描述

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

repo: heygen-com/hyperframes

热度

GitHub 星标
78k
排名
#1737
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能