Hi there,
I'm trying to speed rotation animation on scroll with use of ScrollTrigger.
It works pretty well except when I do a fast scroll the rotation gets crazy and I don't really know how to limit the speed...
Maybe I do it all wrong, I tried to clamp value but any ideas on how to limit that correctly?
Thanks for your help !
Alex
See the Pen QWEyGYp by alexandrebuffet (@alexandrebuffet) on CodePen
Hi there,
I'm trying to speed rotation animation on scroll with use of ScrollTrigger.
It works pretty well except when I do a fast scroll the rotation gets crazy and I don't really know how to limit the speed...
Maybe I do it all wrong, I tried to clamp value but any ideas on how to limit that correctly?
Thanks for your help !
Alex
See the Pen QWEyGYp by alexandrebuffet (@alexandrebuffet) on CodePen