Jump to content


TimelineMax repeat:-1 distortion

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hey guys!

I´m having a little distortion in my mainScene when i add repeat:-1 to its timeline.

When repeat:-1 is added to the mainScene timeline the animation changes, in particular the "thirdsetScene".

I hope somebody can help me with this little issue, making the manScene run as it should with repeat:-1 to loop infinitely.

Thanks, thanks and thanks!

See the Pen dMwRLv?editors=0010 by caemostajo (@caemostajo) on CodePen

Link to comment
Share on other sites

Hi caemostajo  :)


Looks like you got your cube working. It's looking good.


I added a repeat:-1 to your main timeline and I don't know if I'm just missing it, but I'm not seeing anything strange.


What exactly do you mean by distortion? Is this in all browsers? Is it only on CodePen? Maybe others can spot the problem, but I for one could use a few more details please.


Happy tweening.


  • Like 1
Link to comment
Share on other sites

Hey guys!

Few hours ago i got together with my brother (he is a back-end programmer), showed him my problem and he made this neat code which solved all my problems.
I just wanted to share the pen so this topic has a final working demo:

See the Pen dMwZJM?editors=0100 by caemostajo (@caemostajo) on CodePen


Link to comment
Share on other sites

Thanks for sharing the code your brother helped with. It might be interesting to post back exactly what was wrong, what you discovered, and how you and/or your brother fixed the problem. Forums are great places for keeping such stuff for later posterity ;)

  • Like 1
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.