Romanus Posted July 23, 2022 Share Posted July 23, 2022 Hello! I am trying to make an animation of the stars. I don't know how to make them rotate out of sync. Below is the example I am trying to reproduce See the Pen yLKXjBb by romanusss (@romanusss) on CodePen Link to comment Share on other sites More sharing options...
Romanus Posted July 23, 2022 Author Share Posted July 23, 2022 See the Pen JmRKzz by anthonysimone (@anthonysimone) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted July 23, 2022 Share Posted July 23, 2022 You could use a recursive function, keyframes, and some randomized durations/delays like this: See the Pen MWVoZXV?editors=0010 by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Romanus Posted July 24, 2022 Author Share Posted July 24, 2022 In your example, pause after each play. I would like to make a smooth animation, like in the example that demonstrated Link to comment Share on other sites More sharing options...
GreenSock Posted July 24, 2022 Share Posted July 24, 2022 Then delete the "delay" line 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