-
How to “un-synchronize” a bunch of “jack-in-the-boxes”
So I am trying to make some text “bounce” on screen, using Dan Ebberts “Jack-in-the-box” expression:
veloc = 35;
amplitude = 30;
decay = 1.0;
y = amplitude*Math.cos(veloc*time)/Math.exp(decay*time);
value + [0,y]It works just fine (bounce-wise), however, I am applying this to to about 12 lseperate ayers of text, with each layer appearing 5 frames after the previous one.
I want each layer to bounce in relation to when they appear on screen, however, in this instance, they are all bouncing in synch, as if they were one layer.I have tried tweaking this script and the only way I can get them to not all bounce together is to change the decay. However, that doesn’t really work because I want them to have the same motion, just not at the same time.
I am guessing this is pretty easy to fix, but I can’t seem to get it, so I am here to ask the experts!
Any advice?
Thanks!