Communitygithub.com

heygen-com/hyperframes

Doctrina de corrección de renderizado para transiciones entre escenas en videos de lanzamiento HyperFrames: los prerrequisitos que hacen que las transiciones se compongan correctamente en la línea de tiempo maestra.

¿Qué es hyperframes?

Este skill, llamado 'Seam Craft', define la doctrina de corrección de renderizado para HyperFrames, un sistema de creación de videos de lanzamiento. Se centra en los prerrequisitos mecánicos de la línea de tiempo maestra que garantizan que cualquier transición entre escenas se componga correctamente, independientemente del tipo de transición específica (como fundido cruzado, deslizamiento, zoom, etc.). Resuelve el problema del 'destello blanco' que ocurre en cortes o fundidos cuando el fondo de la escena no es opaco, pintando el fondo del elemento raíz (#root) con un color oscuro por defecto. Explica cómo el inyector aplica una transición superponiendo contenedores de clip, extendiendo la duración del clip saliente, adelantando el inicio del entrante, y utilizando un sistema de ping-pong de pistas para evitar conflictos. También detalla los placeholders de plantilla que el inyector sustituye para personalizar cada transición. Este skill es útil para desarrolladores que ensamblan la línea de tiempo maestra (index.html) y depuran problemas de renderizado, especialmente en películas oscuras donde los destellos blancos son más notorios.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/heygen-com/hyperframes/tree/HEAD/.agents/skills/seam-craft

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Seam Craft — prerrequisitos de renderizado para transiciones entre escenas

Esta es la doctrina de corrección de renderizado para las transiciones entre escenas de PLV: los prerrequisitos y la mecánica de la línea de tiempo maestra que hacen que cualquier transición se componga correctamente, independientemente de la transición específica elegida. El catálogo por transición (fundido cruzado, deslizamiento empujando, zoom, corte-curvo, …) se encuentra en el registro de transiciones — esta página es la doctrina que subyace a todas ellas.

Las transiciones que esta doctrina rige están listas para Tier-B: transform / opacidad / filter puros en los dos contenedores de clip de la escena (#el-<sid>), sin DOM overlay inyectado, sin cooperación por escena. Las familias de overlay (bloques escalonados, persianas, fuga de luz, disolución en cuadrícula, quema de página) y las transiciones shader se posponen a fases posteriores.

Prerrequisito del fondo de escena (guardia contra destello blanco)

Varias plantillas abren una ventana donde la opacidad sumada de los dos contenedores < 1 (el corte a mitad de ventana de corte-curvo, el piso de 0.15 de zoom-through, el valle de la curva de potencia del fundido cruzado simple). Lo que esté DETRÁS de los contenedores se ve a través durante esa ventana. Si el index.html ensamblado #root no tiene un fondo opaco, el renderizador compone el valle sobre su página blanca por defecto → un destello blanco en cada unión, que resalta en películas oscuras (observado en dos ejecuciones de Spotify antes de la corrección). El ensamblador debe pintar el escenario: #root { background: var(--canvas-deep, var(--canvas, #000)) } — assemble-index.mjs ahora emite esto; cualquier otro consumidor de estas plantillas asume la misma garantía.

Cómo el inyector aplica una transición

En un límite de break entre la escena i (from) y la escena i+1 (to), el inyector:

  1. Extiende #el-<from> contenedor data-duration en duration_s (mantiene su fotograma final — verificado: core/src/runtime/init.ts:1393-1410 rama de slot externo).
  2. Adelanta #el-<to> contenedor data-start en duration_s (crea la ventana de superposición).
  3. Reasigna todos los clips data-track-index como un ping-pong 0/1 para que los dos contenedores superpuestos nunca compartan una pista (la superposición en la misma pista no está permitida — core/src/lint/rules/composition.ts). La pista más alta se compone encima.
  4. Coloca la gsap_template en window.__timelines["main"] en T = overlap-start.

Verificado por render de prototipo (2026-05-31): el tween del contenedor de la línea de tiempo maestra se busca y renderiza (sin doble búsqueda con la línea de tiempo pausada del sub-comp — el runtime los maneja de forma independiente), el contenedor extendido mantiene el fotograma final de la escena i, y el contenedor entrante de pista más alta se compone encima + se mezcla con el saliente.

Placeholders de plantilla

El inyector sustituye estos tokens en cada línea de gsap_template:

TokenSignificado
__OLD__"#el-<from>" — selector del contenedor de clip saliente (entre comillas)
__NEW__"#el-<to>" — selector del contenedor de clip entrante (entre comillas)
__T__tiempo de inicio de superposición en segundos (reloj maestro)
__DUR__duration_s para este límite
__DX__desplazamiento horizontal para tipos direccionales: -1920 (IZQUIERDA) / 1920 (DERECHA)
__DY__desplazamiento vertical: -1080 (ARRIBA) / 1080 (ABAJO)
__ORIGIN_OUT__ / __ORIGIN_IN__par de transformOrigin para squeeze

filter / scaleX / transformOrigin están limpios de lint en la línea de tiempo maestra (verificado: core/src/lint/rules/gsap.ts no tiene lista blanca por propiedad y limita sus comprobaciones a rangos de data-composition-id; la lista blanca de x/y/scale/rotation/opacity es solo una regla de prompt del scene-worker — no vincula index.html).

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

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.

heygen-com/hyperframes

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

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.

Skills relacionados