Jump to content
Search Community

Not really sure where to start!

grantsmith test
Moderator Tag

Recommended Posts

Hi,

 

You should use the Horizontal Seamless Loop helper function:

https://gsap.com/docs/v3/HelperFunctions/helpers/seamlessLoop

 

Here is a demo that uses the helper function and the Observer Plugin to check the wheel event and speed up the loop and then return it to it's normal speed:

See the Pen zYaxEKV by GreenSock (@GreenSock) on CodePen

Here you can learn more about the Observer Plugin:

https://gsap.com/docs/v3/Plugins/Observer/

 

Hopefully this helps.

Happy Tweening!

Link to comment
Share on other sites

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...