Communitygithub.com

heygen-com/hyperframes

타일형 제목 표면이 셀 단위로 뒤집히며 깊이 필드 아래 뒷면 제목을 드러냅니다. HyperFrames 블록, 1920×1080, 8초, 18개 변수.

hyperframes란 무엇인가요?

이 스킬은 HyperFrames 플랫폼에서 사용 가능한 'Code Slice Hero'라는 시각 효과 컴포지션입니다. 전체 정사각형 타일 표면에 하나의 제목이 표시되고, 가상의 커서가 표면을 가로지르면 가우시안 깊이 필드에 따라 주변 타일이 들어 올려지고 기울어집니다. 커서 경로와 겹치는 타일만이 뒷면 제목을 드러내기 위해 뒤집힙니다. WebGL 2 기반의 인스턴스 드로우를 사용하여 성능을 최적화했으며, 앞면과 뒷면 텍스처 쌍을 공유하고 배치 처리된 그림자 투영 패스를 포함합니다. 제목 복사본, 텍스트 크기, 타일 크기가 독립적으로 조정 가능하여 타일이 늘어나지 않으며, 스윕 방향, 이징 강도, 커서 반경, 폴오프, 깊이, 바운스 및 그림자 등 18개의 변수를 통해 세밀한 제어가 가능합니다. GSAP, Canvas 2D, 시드 기반 PRNG로 렌더링되며, 모든 프레임은 시간의 함수로 폐쇄형 계산되어 seek 안전성을 보장합니다.

지원 대상~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/heygen-com/hyperframes/tree/main/registry/blocks/code-slice-hero

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

코드 슬라이스 히어로 (Code Slice Hero)

전체 정사각형 타일 표면에 하나의 이음새 없는 제목이 표현됩니다. 가상의 커서가 표면을 가로지르면 가우시안 깊이 필드에 따라 주변 타일이 들어 올려지고 기울어지며, 제목 실루엣과 교차하는 셀만 뒤집혀 뒷면 제목을 드러냅니다. 전체 그리드는 하나의 인스턴스 WebGL 2 드로우로, 앞면/뒷면 텍스처 쌍을 공유하고 배치 처리된 투영 그림자 패스를 포함합니다. 복사본, 텍스트 크기 및 정사각형 셀 크기는 독립적이므로 타일이 늘어나지 않습니다. 스윕 방향, 이징 강도, 커서 반경, 폴오프, 깊이, 바운스 및 그림자는 모두 변수로 제어 가능합니다.

컴포지션 ID: code-slice-hero. 지속 시간 8초 (30fps), 1920×1080.

파일

  • code-slice-hero.html (24KB)
  • assets/Geist-Bold.ttf (65KB)
  • assets/Geist-OFL.txt (4KB)
  • assets/gsap-3.14.2.min.js (128KB)
  • assets/GSAP-NOTICE.txt (1KB)
  • shadows.js (10KB)
  • surface.js (8KB)

설치

npx hyperframes add code-slice-hero 명령으로 설치하면 기본적으로 위 파일들이 compositions/code-slice-hero/ 디렉토리에 배치됩니다. 그런 다음 호스트 index.html에서 블록을 마운트합니다:

<div
  data-composition-id="code-slice-hero"
  data-composition-src="compositions/code-slice-hero/code-slice-hero.html"
  data-start="0"
  data-duration="8"
  data-track-index="1"
  data-width="1920"
  data-height="1080"
></div>

컴포지션 파일을 직접 대상으로 사용자 정의 값으로 렌더링하려면:

npx --yes [email protected] render 'compositions/code-slice-hero/code-slice-hero.html' --variables '{"headline":"MAKE IT","reverseHeadline":"MATTER."}'

변수

런타임에 window.__hyperframes.getVariables()를 통해 읽습니다. 컴포지션 루트에 data-composition-variables 속성(작은따옴표 속성, 일반 JSON)으로 선언됩니다.

idtypedefaultlabel / 범위
headlinestring"MAKE IT"복사 · 앞면 제목 최대 32자
reverseHeadlinestring"MATTER."복사 · 뒷면 제목 최대 32자
directionenum"left-to-right"동작 · 스윕 방향 (left-to-right
sweepDurationnumber4.2동작 · 스윕 지속 시간 2.6–4.5 단계 0.05
sweepEaseStrengthnumber3동작 · 스윕 이징 강도 0–3 단계 0.05
flipDurationnumber0.75동작 · 각 타일 뒤집기 0.65–1.65 단계 0.05
cursorRadiusnumber210커서 · 영향 반경 160–480 단계 10
cursorFalloffnumber1.4커서 · 영향 폴오프 0.4–3.5 단계 0.05
cursorDepthnumber80커서 · 깊이 (+ 카메라 방향) -320–320 단계 10
tiltStrengthnumber55커서 · 당김 / 기울임 강도 0–55 단계 1
noiseStrengthnumber2동작 · 유기적 변이 0–2 단계 0.05
flipBouncenumber0.15동작 · 탄성 뒤집기 바운스 0–0.8 단계 0.05
cellSizenumber112슬라이스 · 정사각형 셀 크기 24–120 단계 4
formationScalenumber1슬라이스 · 로컬 포메이션 스케일 0.94–1 단계 0.001
fontSizenumber310폰트 · 최대 크기 160–480 단계 5
behindColorcolor"#212121"표면 · 타일 뒤 배경
shadowStrengthnumber0.19표면 · 투영 그림자 강도 0–0.65 단계 0.01
shadowSoftnessnumber4표면 · 투영 그림자 부드러움 0.5–4 단계 0.1

런타임 계약

  • window.__timelines["code-slice-hero"]로 등록된 일시 정지된 GSAP 타임라인 하나.
  • hf-seek CustomEvent에서 재동기화됨. 모든 프레임은 시간의 폐쇄형 함수(시드 PRNG만 사용, rAF 루프 없음, Date.now 없음).
  • 렌더러: GSAP, Canvas 2D, 시드 PRNG.
  • 외부 런타임 의존성: 없음 (로컬에서 제공).
  • 로컬 폰트: assets/Geist-Bold.ttf.

편집 규칙 (원본 프로젝트에서)

  1. data-composition-variables는 작은따옴표 속성으로 유지하고 일반 " JSON을 사용하세요. Studio의 디자인 패널을 통해 저장하지 마십시오.
  2. 정적 마크업에 <canvas>를 넣지 말고 런타임에 생성하세요.
  3. 모든 시각적 상태를 t의 함수로 유지하세요. seek 안전성은 블록을 렌더링 가능하게 만드는 핵심입니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

general-video

>

heygen-com/animejs

Anime.js adapter patterns for HyperFrames. Use when writing Anime.js animations or timelines inside HyperFrames compositions, registering animations on window.__hfAnime, making Anime.js seek-driven and deterministic, or translating Anime.js examples into render-safe HyperFrames HTML.

heygen-com/claude-design-hyperframes

Use when running inside Claude Design specifically. Produces a valid, brand-accurate HyperFrames video draft using pre-valid skeletons. For Claude Code / Cursor / Codex, use the `hyperframes` skill instead.

heygen-com/contribute-catalog

Author a new HyperFrames registry block (caption style, VFX block, transition, lower third) or component (text effect, overlay, snippet) and ship it as an upstream PR to the hyperframes repo. Use ONLY when the user wants to CONTRIBUTE to the public catalog — for in-project caption/transition authoring use the `hyperframes` skill, for installing existing registry items use the `hyperframes-registry` skill.

heygen-com/css-animations

CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

heygen-com/gsap

GSAP animation reference for HyperFrames. Covers gsap.to(), from(), fromTo(), easing, stagger, defaults, timelines (gsap.timeline(), position parameter, labels, nesting, playback), and performance (transforms, will-change, quickTo). Use when writing GSAP animations in HyperFrames compositions.

heygen-com/hyperframes

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

heygen-com/hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

heygen-com/hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

heygen-com/hyperframes

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

heygen-com/hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

heygen-com/hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

heygen-com/hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

heygen-com/hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

heygen-com/hyperframes

name: embedded-captions

heygen-com/hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

heygen-com/hyperframes

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

heygen-com/hyperframes

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

heygen-com/hyperframes

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

heygen-com/hyperframes

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

관련 스킬