mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 13:58:20 +00:00
Same class as the vfx-shatter fix: hyperframesAnime.register() primes the timeline (seek to end, back to 0), so the deferred init's tl.seek(0) is a no-op that never fires onUpdate, and the WebGL canvas stays black for the first captured frame (t=0 hard-fail at 3.3dB, baseline shows the light landing page). Call renderPortal(0) directly. Verified by snapshot at t=0/3.3/3.9 vs the pinned GSAP baseline: t=0 now shows the landing page. The remaining PSNR gap on this item is baseline-side: the pinned GSAP baseline's drawElementImage capture is missing ALL text (logo, nav, hero headline, card copy) for the entire clip, while the anime.js candidate captures it correctly.