code-slice-hero
하는 일
이것은 타일형 3D 표면 효과가 있는 준비된 HyperFrames 헤드라인 블록입니다. 바꿀 수 있는 현대적이고 애니메이션된 헤드라인 공개를 원하는 영상 제작자를 위한 블록입니다.
사용하는 경우
- ✓타일 뒤집기로 두 번째 메시지를 드러내는 헤드라인을 원할 때.
- ✓깊이감과 부드러운 빛의 움직임이 있는 현대적인 제목 장면이 필요할 때.
- ✓내 문구와 타이밍으로 조정할 수 있는 준비된 블록을 원할 때.
스킬 링크
https://github.com/heygen-com/hyperframes/blob/main/registry/blocks/code-slice-hero/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 제품 출시 영상에 타일 뒤집기 제목을 쓰고, 헤드라인 문구를 제 것으로 바꿔 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
블록은 편집 가능한 소스 파일로 설치됩니다. 움직이는 커서 효과가 가까운 타일을 들어 올리고 기울이며, 헤드라인 아래의 타일만 뒤집혀 두 번째 메시지를 드러냅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Code Slice Hero
A full square-tile surface carries one seamless headline. An imaginary cursor crosses the surface; nearby tiles respond to its Gaussian depth field with lift and tilt, and only the cells intersecting either headline silhouette turn over to reveal the rear headline. The whole grid is one instanced WebGL 2 draw with a shared front/rear texture pair, plus a batched projected-shadow pass. Copy, text size and square cell size are independent, so tiles never stretch. Sweep direction, easing strength, cursor radius, falloff, depth, bounce and shadow are all variables.
Composition id: code-slice-hero. Duration 8 s at 30 fps, 1920×1080.
Files
code-slice-hero.html(24 KB)assets/Geist-Bold.ttf(65 KB)assets/Geist-OFL.txt(4 KB)assets/gsap-3.14.2.min.js(128 KB)assets/GSAP-NOTICE.txt(1 KB)shadows.js(10 KB)surface.js(8 KB)
Install
Install with npx hyperframes add code-slice-hero; by default the files above land under compositions/code-slice-hero/. Then mount the block from the host 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>
Render with custom values by targeting the composition file directly:
npx --yes hyperframes@0.8.12 render 'compositions/code-slice-hero/code-slice-hero.html' --variables '{"headline":"MAKE IT","reverseHeadline":"MATTER."}'
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 |
| ------------------- | ------ | ----------------- | ------------------------------------------------- | -------------- |
| headline | string | "MAKE IT" | Copy · Front headline max 32 chars |
| reverseHeadline | string | "MATTER." | Copy · Rear headline max 32 chars |
| direction | enum | "left-to-right" | Motion · Sweep direction (left-to-right | right-to-left) |
| sweepDuration | number | 4.2 | Motion · Sweep duration 2.6–4.5 step 0.05 |
| sweepEaseStrength | number | 3 | Motion · Sweep easing strength 0–3 step 0.05 |
| flipDuration | number | 0.75 | Motion · Each tile flip 0.65–1.65 step 0.05 |
| cursorRadius | number | 210 | Cursor · Influence radius 160–480 step 10 |
| cursorFalloff | number | 1.4 | Cursor · Influence falloff 0.4–3.5 step 0.05 |
| cursorDepth | number | 80 | Cursor · Depth (+ toward camera) -320–320 step 10 |
| tiltStrength | number | 55 | Cursor · Pull / tilt strength 0–55 step 1 |
| noiseStrength | number | 2 | Motion · Organic variation 0–2 step 0.05 |
| flipBounce | number | 0.15 | Motion · Elastic flip bounce 0–0.8 step 0.05 |
| cellSize | number | 112 | Slices · Square cell size 24–120 step 4 |
| formationScale | number | 1 | Slices · Local formation scale 0.94–1 step 0.001 |
| fontSize | number | 310 | Type · Maximum size 160–480 step 5 |
| behindColor | color | "#212121" | Surface · Behind-tile background |
| shadowStrength | number | 0.19 | Surface · Cast shadow strength 0–0.65 step 0.01 |
| shadowSoftness | number | 4 | Surface · Cast shadow softness 0.5–4 step 0.1 |
Runtime contract
- One paused GSAP timeline registered as
window.__timelines["code-slice-hero"]. - Re-syncs on the
hf-seekCustomEvent; every frame is a closed-form function of time (seeded PRNG only, no rAF loops, no Date.now). - Renderer: GSAP, Canvas 2D, Seeded PRNG.
- External runtime dependencies: none (served locally).
- Local fonts: assets/Geist-Bold.ttf.
Editing rules (from the source project)
- Keep
data-composition-variablesa single-quoted attribute with plain"JSON. Never save it through Studio's Design panel. - Do not put
<canvas>in static markup; create it at runtime. - Keep every visual state
자주 묻는 질문
장면은 얼마나 긴가요?
1920×1080 해상도, 초당 30프레임으로 8초입니다.
문구를 바꾸면 텍스트가 늘어나나요?
아닙니다. 텍스트 크기와 타일 크기를 따로 설정하므로 타일은 정사각형 모양을 유지합니다.
무엇을 조정할 수 있나요?
문구, 텍스트 크기, 쓸기 방향, 커서 반경, 깊이, 그림자 등 여러 설정을 바꿀 수 있습니다.
상세 정보
작성자의 원본 설명
A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.
repo: heygen-com/hyperframes
인기도
- GitHub 스타
- 78k
- 순위
- #1733
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
captions-overlay
78k영상에 자막을 오버레이로 넣을 때 어떤 말을 빼고, 어떤 말을 화면에 보여 주고, 어떤 말을 강조할지 결정하도록 에이전트를 안내합니다.
cut-the-curve
78kHyperFrames 영상에서 쓰는 전환 방식을 에이전트에게 가르칩니다. 매끄러운 장면 전환, 줌 전환, 순차적으로 나타나는 텍스트 등이 포함됩니다.
motion-doctrine
78k여러 장면으로 된 영상이 따로 놓인 슬라이드가 아니라 하나로 이어지는 카메라 움직임처럼 보이도록 하는 핵심 규칙을 에이전트에게 줍니다.
oversized-cursor
78k영상에 크고 움직이는 포인터를 넣어 시청자의 시선을 이끌고, 클릭이 다음 동작을 일으키는 것처럼 느껴지게 하는 방법을 가르칩니다.
비슷한 스킬
blender-motion-state-inspection
280k3D 애니메이션의 포즈, 움직임, 캐릭터 정렬 같은 세부 사항을 점검하도록 돕습니다.
manim-video
280k애니메이션 설명 영상을 에이전트가 만들도록 돕습니다. Manim을 사용해 기술 개념을 설명하는 명확한 그래프와 도표를 만듭니다.
remotion-video-creation
280kReact와 Remotion 라이브러리로 영상을 만드는 과정을 에이전트에게 안내합니다. 애니메이션, 오디오, 자막 등 시각 요소의 모범 사례를 다룹니다.