Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

100101110

Members
  • Posts

    5
  • Joined

  • Last visited

100101110's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi, thanks ill I’ll take that name haha. Thanks mate. Appreciate the help. Yeah I also figured out that issue, which was more masked on my side as I had 1500 elements so was very unlikely to see a double up. Yeah that hat looks better. Appreciate it.
  2. I actually figure this one out and updated the codepen. Though for some reason the first stays in the changed colour which it doesnt when run locally. The only thing I think that could be improved would be to run the timelines nested possibly? Though its a never ending loop so does it really matter? What would be best to performance e.g RAM and CPU usage on the client?
  3. Hey yeah state really wasn’t that important though I was going to use it to make sure it stops when the component wasn’t used. Eg a Boolean set in beforeDestroyed and the loop checks for it before continuing or not. But really don’t have to use state for the timeline. I just mimicked another’s and took it from there. Basically my my goal is. I have a global map made up of dots. I want to choose 5 random locations and make them change color using yoyo. On completion of each timeline I want to get another location rather then using the previous location. Also I want to offset the 5 timelines by a random time interval day between 0.5 and 2 sec so that they aren’t all on at the exact same time. Hope that hat makes sense. Currently it’s working fine with 1 timeline. I’m just trying to figure out how to create multiple without copy pasting the timelines. I’d rather do it programically using a loop or something. Thanks
  4. Hey, haha actually it had no meaning I just bash the numbers out. It’s my way of providing anonymity with online profiles. Yeah I thought that was the case but it was working locally not sure how. What’s your thoughts on best creating multiple timelines. Ideally I’d like to set a state of number of timelines and then loop through them so there’s x timelines. Cheers yeah Vue is awesome.
  5. So, the codepen isnt working correctly as per in my local dev setup as yoyo isnt working it just stays a different color rather then returning to the original color, but that isn't the issue. Im wanting to run multiple timelines with a small random time offset between them all in a loop. So randomly 3 timelines are being run at the same time. I was thinking of using a for loop but didnt seam to work for me. Any help would be greate
×