What problem does it solve?
GSAP is a reference and contract for integrating GSAP with HyperFrames to build deterministic, reusable motion in HTML-based compositions by standardizing how timelines and tweens are authored and registered for playback.
Core Features & Use Cases
- Core tween methods like gsap.to(), gsap.from(), gsap.fromTo(), and gsap.set() with sensible defaults.
- Timeline construction via gsap.timeline() with labels, nesting, position parameter, and playback controls for complex sequences.
- Performance guidance including use of transforms and will-change for GPU-accelerated animations, and compatibility with gsap.matchMedia.
- Practical use cases include authoring consistent motion across HyperFrames projects and reusing patterns with a clear integration pattern via window.__timelines.
- Reference-only guidance loaded on demand from references/effects.md for ready-made patterns.
Quick Start
Create a paused GSAP timeline and register it on window.__timelines with the composition's data-composition-id, then HyperFrames can seek and render it.