mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
11 production-quality caption/subtitle styles for the HyperFrames registry, covering the full spectrum from viral short-form to professional lower-thirds. Each style was validated against a custom attention scorer (adapted from c2v-bench) measuring readability, confidence, and contrast. The quality bar was set at 75+ readability and 0.95+ confidence — 7 of 11 exceed this, with the remaining 3 (neon, glitch, bounce) scoring 65-70 due to their intentional dim-inactive/bright-active contrast design. Styles: - cap-hormozi: Montserrat 900, word pop, gold highlight (readability: 77.5) - cap-karaoke-sweep: full phrase, progressive white glow (78.3) - cap-pill: rounded gradient pills per word, red active (75.9) - cap-neon: layered pink neon glow on active word (69.1) - cap-boxed: Netflix-style dark box subtitle (81.7 — highest) - cap-outline: stroke-to-fill reveal, Bebas Neue (79.7) - cap-bounce: elastic word entrance, cyan highlight (64.6) - cap-glitch: RGB chromatic aberration entrance (69.9) - cap-marker: yellow marker sweep on light background (75.6) - cap-clean: Ali Abdaal smooth fade, zero decoration (75.5) - cap-emoji: Hormozi pop with contextual emoji reactions All styles use: - fitTextFontSize (pretext) for overflow prevention - Hard kill (tl.set opacity:0, visibility:hidden) at every group end - Word-level karaoke sync from transcript timestamps - 96-128px font minimum with text-stroke/shadow for readability - Deterministic GSAP timelines (no Math.random) Video previews: s3://heygen-public/hyperframes/caption-blocks/