Jump to content
Search Community

Rafalbojar's website animation

Kriszzy01 test
Moderator Tag

Recommended Posts

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

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

  • 2 weeks later...

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.
×
×
  • Create New...