Skills
Skill 7 of 34
Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.
1 minute · 326 words · 5 sections
Install
npx skills add heygen-com/hyperframes --skill canopy-part-titlenpx skills add heygen-com/hyperframes/plugin marketplace add heygen-com/hyperframesThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
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.
canopy-part-title.html (57 KB)assets/leaf-surface-color.webp (64 KB)assets/leaf-surface-normal.webp (136 KB)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"}'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 |
window.__timelines["canopy-part-title"].hf-seek CustomEvent; every frame is a closed-form function of time (seeded PRNG only, no rAF loops, no Date.now).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.data-composition-variables a single-quoted attribute with plain " JSON. Never save it through Studio’s Design panel.<canvas> in static markup; create it at runtime.main, last pushed 23 September 2026.SKILL.md, not by matching a directory convention. 3 distinct layouts observed: .agents/skills/*/SKILL.md, registry/blocks/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by HeyGen, declaring 2 plugins. It is read for editorial metadata only — never as the skill index, which is always the repository tree./heygen-com/hyperframes.md, and each skill at its own .md URL.4 files · 258 KB
Everything this skill ships beside its prose. 2 of them are set here as subchapters of skill 7; the other 2 are described rather than reproduced.
Templates, schemas and fixtures the skill draws on.
Everything else published alongside the skill.