Jump to content
Search Community

Inifinite Crawl Loop

Nikos Xenakis test
Moderator Tag

Recommended Posts

This effect is great but how I could make it "non-interactive" ?

When I comment out the scrollTrigger property it just executes once.
If I set repeat:1 or autoplay or something like that, it just does the same thing all over again which is not what I want to achieve.
I would like a smooth infinite crawl effect with the ability to set the speed.
Also, it would be nice to leave no white "gap" when there are no more images left, and rather show all the images again.
Thanks in advance and congrats for the awesome library!

See the Pen BaogqYy by noeldelgado (@noeldelgado) on CodePen

Link to comment
Share on other sites

Hi @Nikos Xenakis,

 

First mention that you posted in the banner animation forums. Is that actually what you intended or this should go in the general GSAP forums? Please let us know so we can move the thread to the correct section of the forums.

 

Based on what you are describing maybe you're after the Horizontal Endless Loop Helper Function:

https://greensock.com/docs/v3/HelperFunctions#loop

 

Take a look at it and if you keep having issues let us know and remember to include a minimal demo that shows what you have already and what you're trying to do.

Happy Tweening!

Link to comment
Share on other sites

  • 2 months 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...