Jump to content
Search Community

Random loop in between 1-9

marko krstic test
Moderator Tag

Go to solution Solved by Carl,

Recommended Posts

  • Solution

Hi @marko krstic

here I looped through all the circles and assigned them an animation along a path.

the animations have random delays which means they won't start in order 1 - 9.

see if this works for you

 

See the Pen OJOOZXo?editors=0010 by snorkltv (@snorkltv) on CodePen

 

*edit: I changed the delay so that the first circle starts immediately at time:0 and the rest have a random delay using

delay: index == 0 ? 0 : "random(0.1,5)",

 

  • Like 4
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...