Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop to start at initial position and not reverse animation. #351

Closed
prashantsani opened this issue Nov 12, 2014 · 2 comments
Closed

Loop to start at initial position and not reverse animation. #351

prashantsani opened this issue Nov 12, 2014 · 2 comments

Comments

@prashantsani
Copy link

Hello.
using loop: true creates an infinite loop which reverses animation.I want to loop to start at the start position and not have a reverse animation.
Here is an example.
http://codepen.io/Prashantsani/pen/bNGGbx

I m creating a fan like effect, in which the fan continuously spins at 360 deg and the start position of each loop is 0 deg and ends at 360 deg.

Right now i m using complete a recursive function to complete object, but i want to know if there is a better way of doing this thing.
http://codepen.io/Prashantsani/pen/yyLLyd

@ydaniv
Copy link
Contributor

ydaniv commented Nov 12, 2014

This was already added to Velocity, see issue #270 .

@julianshapiro dup.

@prashantsani
Copy link
Author

just realised that the loop was set to 350 and not 360. My bad. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants