Jump to content
Search Community

Animation does not repeat from the start position?

szabkel test
Moderator Tag

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!


I am totally new to greensock and animation in general, so bear with me.

I started messing around with SVG path morphing and don't know how to solve the problem with this one.:

 

I got an svg from flaticons and loaded it into AI, added a few arrows and a single path which they should follow.

Without pressing any buttons, the arrows seem to always go back to their start position without any additional animation, but If I press any of the speed buttons, the arrows start to animate from their end position to their start before even beginning the loop, making this kind of unintended animation back to the start position. I expected them to "teleport back" to their start before each loop.

 

Why does this happen?

 

Thanks for you help!

air-filter.svg

See the Pen WWJmbJ by anon (@anon) on CodePen

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