Hello, i’m trying to learn how to use GSAP.
I want to make a “washing machine” rotation effect :
- On click object start rotating slowly for 2seconds
- rotate at max speed for 2 seconds
- rotate slowly 2 secondes till it’s stop (todo later : stop with ease:Elastic.easeOut effect)
I thought I could write the 3 orders one after one but when I do so, GSAP only ‘do the first one’
(i didnt use any duration because i'm trying fir
Please look at this page: https://greensock.com/docs/TimelineMax/reversed()
.reversed( value:Boolean ) : Gets or sets the animation's reversed state which indicates whether or not the animation should be played backwards.
myAnimation.reversed( true ); //sets the orientation to reversed
myAnimation.reversed( !myAnimation.reversed() ); //toggles the orientation
Happy tweening ...