Kriszzy01 Posted April 2, 2021 Share Posted April 2, 2021 Hey guys, I'm still new with GSAP so I am currently trying to replicate animations others have done that I find interesting. I am trying to replicate the animation used to move back and forth sections on rafalbojar.com, and I can't seem to do it. I feel they're using a debounced mousewheel event to call the animation logic and not scrollTrigger. Anyone with any ideas how to implement this animation? Link to comment Share on other sites More sharing options...
GreenSock Posted April 3, 2021 Share Posted April 3, 2021 Welcome to the GreenSock community, @Kriszzy01! I don't have time to dig into the code or anything, but you could probably do something similar with a ScrollTrigger that has a scrub value to smooth out the effect. Have you looked into that at all? It may be useful to poke around the ScrollTrigger Demos section to find examples that could be close. Another thing they may be using is a smooth scrolling library (scrolljacking). Happy tweening! Link to comment Share on other sites More sharing options...
Kriszzy01 Posted April 12, 2021 Author Share Posted April 12, 2021 Thank you. I found a similar demo Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now