Skip to main content
GSAP is a powerful animation library that can be synchronized with Helios by pausing its timeline and seeking to specific time positions based on Helios frame updates.

Installation

Install GSAP alongside Helios:

Basic integration

The key to integrating GSAP with Helios is to:
  1. Create a GSAP timeline with paused: true
  2. Subscribe to Helios updates
  3. Convert frame count to seconds
  4. Seek the GSAP timeline to the exact time

Integration pattern

Timeline control

GSAP timelines must be created with paused: true to prevent automatic playback:
This allows Helios to have full control over the timeline position.

Frame to time conversion

Convert Helios frame numbers to seconds for GSAP:

Using GSAP easing

GSAP provides powerful easing functions that work seamlessly:
Common easing options:
  • power1.inOut, power2.out, power3.in
  • elastic.out(1, 0.3)
  • bounce.out
  • back.inOut(1.7)

Why this works

By pausing the GSAP timeline and manually seeking to specific time positions, Helios can:
  • Ensure deterministic frame-by-frame rendering
  • Enable scrubbing through the animation
  • Support export to video formats
  • Maintain synchronization across multiple animation systems
This pattern works with any GSAP feature including plugins, custom properties, and complex timelines.