Jump to content
Search Community

Repetition with slowing down

katerina Solstad 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

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