Jump to content
Search Community

Tweening/overlapping start of repeating timeline into end of timeline

TartufoDAlba test
Moderator Tag

Go to solution Solved by PointC,

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

Hello GSAPers,

 

Would it be possible so that before the timeline is finished... the beginning of the timeline is already repeating?

 

In the pen for example:

"#line1" and onward into the timeline would already be repeating before "#line6" is completed.

 

Thus making it so the timeline appears continuous and not have a "blip" of white background before the next repeat.

 

Thank you!

See the Pen OWrmLx by tartufodalba (@tartufodalba) on CodePen

Link to comment
Share on other sites

  • Solution

Hi TartufoDAlba :)

 

Welcome to the forums.

 

A timeline playhead is linear and cannot be in two places at once. I think in your case you'd want to create a separate animation for each element and then use repeatDelay to restart the first animation before the last one ends. Hopefully that makes sense.

 

Happy tweening.

:) 

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