Jump to content
GreenSock

delivous

GSAP ScrollTrigger syncing multiple timelines

Go to solution Solved by delivous,

Recommended Posts

I'm trying to create a roadmap animation using GSAP ScrollTrigger. I'm stuck at syncing the timeline that reveals the line and the timelines that reveal the dots.

I'm not sure how I can achieve the following:
1. Keep the edge of the line always at the center
2. Fade in the dots at the center.

I suspect my approach isn't the right one? Any pointers are much appreciated!

See the Pen poLgyJK?editors=0010 by delivious (@delivious) on CodePen

Link to comment
Share on other sites

  • Solution

I fixed the issue by dissecting the line into multiple segments and sequencing them one after another.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×