Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
katerina Solstad

Repetition with slowing down

Recommended Posts

I wonder if there is a way to program as slowing down repetition. Let's say something has repetitive movement and I would like that repetitive movement either to slow down with every new repetition  or speed up. Perhaps there is something with tutorial or docs on it. 

Thank you. 

Link to post
Share on other sites

Hi again @katerina Solstad :)

 

There would be many ways to do that. You could play a tween and then call a function that plays it again with a different duration. You can also create a timeline and tween the timeScale() which is pretty neat. Here's a good post with some of those ideas in demo form.

 

https://greensock.com/learning-gems

 

It really depends on exactly what you need to happen. If you can put together a simple CodePen demo with some divs and let us know what you'd like to see, we can guide you to the best solution and give you better answers. If you need bonus plugins for your demo, this is a good GreenSock demo to fork and get you started.

 

See the Pen OPqpRJ by GreenSock (@GreenSock) on CodePen

Happy tweening.

:)

 

  • Like 2
  • Thanks 1
Link to post
Share on other sites
31 minutes ago, PointC said:

Hi again @katerina Solstad :)

 

There would be many ways to do that. You could play a tween and then call a function that plays it again with a different duration. You can also create a timeline and tween the timeScale() which is pretty neat. Here's a good post with some of those ideas in demo form.

 

https://greensock.com/learning-gems

 

It really depends on exactly what you need to happen. If you can put together a simple CodePen demo with some divs and let us know what you'd like to see, we can guide you to the best solution and give you better answers. If you need bonus plugins for your demo, this is a good GreenSock demo to fork and get you started.

 

See the Pen OPqpRJ by GreenSock (@GreenSock) on CodePen

Happy tweening.

:)

 

Thank you again. Yes, I understood your two ways to approach it. Thank you. I will dig into learning more about TimeScale. I have not learned it yet and have not seen the tutorial on it. Thank you again. You are really sooooo helpful. It is amazing. 

  • Like 1
Link to post
Share on other sites
13 hours ago, PointC said:

Hi again @katerina Solstad :)

 

There would be many ways to do that. You could play a tween and then call a function that plays it again with a different duration. You can also create a timeline and tween the timeScale() which is pretty neat. Here's a good post with some of those ideas in demo form.

 

https://greensock.com/learning-gems

 

It really depends on exactly what you need to happen. If you can put together a simple CodePen demo with some divs and let us know what you'd like to see, we can guide you to the best solution and give you better answers. If you need bonus plugins for your demo, this is a good GreenSock demo to fork and get you started.

 

See the Pen OPqpRJ by GreenSock (@GreenSock) on CodePen

Happy tweening.

:)

 

Learning Gems Article has just what I needed! Thank you again. 

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

×