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

canopy-part-title

Skill này làm gì

Đây là một khối tiêu đề HyperFrames dựng sẵn với phần mở đầu có lá cây. Nó dành cho người làm video muốn một chuỗi tiêu đề hữu cơ, điện ảnh mà họ có thể tùy chỉnh bằng chữ và font của mình.

Khi nào nên dùng

  • ✓Khi bạn muốn một cảnh tiêu đề mang cảm giác thiên nhiên, nơi lá cây tách ra để hiện tiêu đề.
  • ✓Khi bạn cần một tiêu đề mở đầu mà bạn có thể đổi chữ và cài đặt.
  • ✓Khi bạn muốn một khối tiêu đề sẵn dùng thay vì phải tự dựng từ đầu.

Liên kết skill

https://github.com/heygen-com/hyperframes/blob/main/registry/blocks/canopy-part-title/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/canopy-part-title/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

“Thêm cảnh tiêu đề lá cây vào video của tôi và đổi hai tiêu đề thành Understory và Move slowly.”

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. Bạn đặt nó vào file video chính và thiết lập nội dung tiêu đề cùng các giá trị khác, như cỡ chữ và tốc độ lá.

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.

Canopy Part Title

A dense canopy of textured leaves sweeps across the frame with shallow depth of field, then parts to uncover the first headline; a second, depth-lifted batch carries the second headline past the camera. A handful of leaves stay behind on the type and keep a light breeze. Font, weight, size, letter spacing, leaf counts, sweep speed and the retained-leaf breeze are variables.

Composition id: canopy-part-title. Duration 12 s at 30 fps, 1920×1080.

Files

  • canopy-part-title.html (57 KB)
  • assets/leaf-surface-color.webp (64 KB)
  • assets/leaf-surface-normal.webp (136 KB)

Install

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

<div
  data-composition-id="canopy-part-title"
  data-composition-src="compositions/canopy-part-title/canopy-part-title.html"
  data-start="0"
  data-duration="12"
  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/canopy-part-title/canopy-part-title.html' --variables '{"headline1":"Understory","headline2":"Move slowly"}'

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
headline1 string "Understory" Headline 1
headline2 string "Move slowly" Headline 2
font string "Helvetica" Headline font
fontWeight number 900 Font weight 100–900 step 100
fontSize number 1 Font size (1 = auto-fit) 0.3–2 step 0.01
letterSpacing number 0.01 Letter spacing (em) -0.2–1 step 0.01
background color "#020805" Background
leafCount number 170 Leaves per sweep 40–320 step 1
stayCount number 5 Leaves left behind 0–20 step 1
sweepSpeed number 1 Sweep speed 0.3–3 step 0.05
retainedBreeze number 1 Retained leaf breeze 0–2 step 0.05

Runtime contract

  • One paused GSAP timeline registered as window.__timelines["canopy-part-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.170.0, GSAP 3.14.2, Canvas 2D, Post-processing, Seeded PRNG, Shadow maps. 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/three@0.170.0/build/three.module.js, https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/postprocessing/EffectComposer.js, https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/postprocessing/RenderPass.js, https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/postprocessing/BokehPass.js.
  • Web fonts from Google Fonts: Gelasio.

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 12 giây ở 30 khung hình mỗi giây, kích thước 1920 x 1080.

Tôi có thể đổi chữ và font không?

Có. Tiêu đề, font, độ đậm, cỡ chữ, khoảng cách chữ và các cài đặt lá đều là biến bạn có thể đổi.

Làm sao thêm vào dự án của tôi?

Bạn cài bằng lệnh add của HyperFrames, rồi gắn khối vào file chính của bạn.

Chi tiết

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

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

repo: heygen-com/hyperframes

Độ phổ biến

Sao GitHub
78k
Vị trí xếp hạng
#1732
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ự