Hello,
I would like to create an animation with a pin element, one one scroll. I want to trigger 3 separate timelines, one after the other (with three scrolls respectively).
However I don't want to use scrub, because I want each timeline to play with its specific duration, and only when it has finished, the next one to start.
If I disable scrub, all 3 timelines play at once. I need to scroll three times, and trigger one timeline each time. It would be something like triggering each timeline with a click. But I need this with a scroll. And the tricky part is the pinned section. So the scrollY is different depending on how much the user scrolls. I need to somehow determine that one scroll will trigger the timeline, no matter how fast this scroll is. Maybe this is not even possible, but I am giving it a try. Check the demo on codepen. I want this but without scrub.
Thanks a lot in advance and congrats for the awesome work!