mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 19:36:04 +00:00
feat(studio): spring ease editor tab with mass/stiffness/damping sliders
Add SpringEaseEditor component alongside the existing cubic-bezier editor in both MotionPanel and EaseCurveSection. Users toggle between Bezier and Spring modes via tab buttons in the Ease Curve section header. The spring editor provides: - Three sliders (mass 0.1-5, stiffness 10-500, damping 1-50) - Five presets from the core spring solver (gentle, bouncy, stiff, wobbly, heavy) - Live SVG curve preview matching the existing editor layout - Debounced commit (120ms) to avoid flooding GSAP CustomEase.create calls Adds @hyperframes/core/spring-ease subpath export so the studio can import generateSpringEaseData and SPRING_PRESETS without pulling in the recast- dependent gsap-parser subpath.
This commit is contained in: