Chuyển đến nội dung
Skillpedia
Chuyển động và hoạt ảnh78k · #1737

orbit-card

Skill này làm gì

Đây là một khối HyperFrames dựng sẵn hiển thị một thẻ tính năng trong quỹ đạo 3D. Nó dành cho người làm video muốn làm nổi bật một tính năng hoặc thông điệp với vẻ chỉn chu.

Khi nào nên dùng

  • ✓Khi bạn muốn làm nổi bật một thẻ tính năng với chuyển động máy quay 3D.
  • ✓Khi bạn cần một cảnh gọn, căn giữa có tiêu đề, mô tả và màu nhấn.
  • ✓Khi bạn muốn một cảnh quỹ đạo dựng sẵn để tùy chỉnh bằng chữ của riêng mình.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/heygen-com/hyperframes/blob/main/registry/blocks/orbit-card/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm một thẻ tính năng cho công cụ xuất mới của chúng tôi, quay quanh quả cầu trong video của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Khối được cài đặt dưới dạng file mã nguồn có thể chỉnh sửa. Thẻ xuất hiện, giữ với chuyển động nhẹ, quay quanh quả cầu một vòng rồi rời đi. Bạn đặt tiêu đề, mô tả, màu nhấn và góc quay.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

Cảnh dài bao lâu?

Cảnh dài 10 giây ở 30 khung hình mỗi giây, kích thước 1920 x 1080.

Tôi có đổi được lượng xoay không?

Có. Góc quay là một biến, và các giá trị như 180 hoặc 720 độ đều dùng được.

Tôi cần chỉnh gì?

Bạn chỉnh tiêu đề, mô tả, màu nhấn và góc quay, tức là bốn biến.

Chi tiết

Mô tả gốc của tác giả

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

repo: heygen-com/hyperframes

Độ phổ biến

Sao GitHub
78k
Vị trí xếp hạng
#1737
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự