-
offset an expression by half second or so
Hi,
I have a scripted expression for a scale loop, but I want to offset the loop so that not all my layer objects are looping at the same time. I am an expression-idiot and haven’t had time to figure out the scripting.
Thanks in advance for any help!
period = 19;
maxVal = 105;
minVal = 100;f = 1/(period*thisComp.frameDuration);
amp = (maxVal - minVal);
s = amp*(Math.sin(f*time*Math.PI*2 - Math.PI/2) + 1)/2;value + [s,s]