Nysh Posted December 9, 2020 Share Posted December 9, 2020 Hey guys, I'd like to achieve an infinite horizontal animation that changes direction (and speed) depending on whether the user scrolls up or down. The animation currently changes with scroll, but eventually stops (see codepen). I know there are a few examples of infinite loops on the forum, however I wasn't able to combine them with a change in scroll direction. Any help on how to create an infinite loop with this example would be amazing Cheers~ See the Pen LYRRydX by nish-mathur (@nish-mathur) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted December 9, 2020 Share Posted December 9, 2020 Hey Nysh. I recently talked about how to do this sort of thing in this thread: 2 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