code-slice-hero

Featured

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.

AI & Automation 88,085 stars 8198 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 For install and render commands, expand `npx hyperframes` to `node "<SKILLS>/hyperframes/scripts/plugin-cli.mjs"` in the project directory. Use the absolute path to your installed HyperFrames skills for `<SKILLS>`. If the launcher is missing, ask for the skill before proceeding. 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`: ```html <div data-composition-id="code-slice-hero" data-composition-src="compositions/code-slice-hero/code-slice-hero.html" data-start="0" ...

Details

Author
heygen-com
Repository
heygen-com/hyperframes
Created
8 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category