Hi,
I want to make the same effect(horizontal scrolling and wave animation) like this site.
The wave is big when scrolling fast. The wave is small when scrolling slowly.
Now I'm faced with a problem of wave animation.
If using gsap.set(), the animation looks not smooth.
If using gsap.to(), the wave is not at the center of the viewport when scroll fast.
Is there any advice on how to solve the problem?
In addition, I also want to know is there any way(like stagger property) to make the code clean or improve performance.
Thanks!