Romanus Posted September 19, 2022 Share Posted September 19, 2022 Hello! In my example, on mouse click, two svg dots are raised. I would like to animate each of them individually so that each one has a random duration. Is it possible? See the Pen MWGmGYd by romanusss (@romanusss) on CodePen Link to comment Share on other sites More sharing options...
Cassie Posted September 19, 2022 Share Posted September 19, 2022 Hey there Romanus, Sure thing, so I would probably approach this using proxy objects to tween the values and then update the path using gsap's ticker, (which is kind of like a GSAP version of requestAnimationFrame) See the Pen KKRmroe?editors=0010 by GreenSock (@GreenSock) on CodePen 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now