mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:00:07 +00:00
The static-dedup and at-risk predictors turn each GSAP tween into a frame range and wrote every frame of every range into a Set. The page decides how many tweens there are and how long they claim to run, so stacked tweens multiplied the loop and the at-risk predictor never clamped a range's end at all: one tween ending at 1e9 s walked billions of frames. Ranges are now clamped to the frames the render captures, merged before any frame is written, and the interval list is capped. Past the cap, static dedup is skipped and every frame is treated as at risk (screenshot capture), so output never changes for the worse. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>