Jump to content
GreenSock

Romanus

Non-synchronous animation of different objects

Recommended Posts

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

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

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

Then delete the "delay" line :)

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