Jump to content
GreenSock

DabeDotCom

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by DabeDotCom

  1. [I know this is an old topic, but it was one of the top hits on Google when I searched for gsap repeat timeline, so I'm adding a link here in case anybody else (including "Future Me") stumbles upon it again....  «grin»]

     

    GSAP 3 has added the repeatRefresh: true feature to simplify/fix this:

     

    See the Pen JjMdQvV by DabeDotCom (@DabeDotCom) on CodePen

     

    PS — Big thanks to @OSUblake for helping me figure it out! 🤩

    • Like 2
  2. Hi!  Forgive me for being a first-timer, but I'm having difficulty wrapping my head around why the attached CodePen doesn't "zig-zag" my squares correctly...  (Note: This is a Minimal Reproducible Example; please don't judge me, hehe!)

    I want it to go:

         0
        /
       1 - 2
          /
         3
        /
       1 - 2
          /
         3
        /
       1 - 2
          /
         3

    ... but it keeps jumping back up and to the left.  😕

    I did find the following Top Hit On Google, which is what I figured I needed to "repeat" from the ending position, but I don't seem to be having any luck getting it to Do What I Mean:

    I'm sure you all will probably take one look and see that I'm missing something fundamental — and that's okay; I'm eager to learn more...  «grin»

    Cheers!

    See the Pen JjMdQvV by DabeDotCom (@DabeDotCom) on CodePen

×