-
Swing Expression on Text
Hey guys, I have a pretty simple question about swing expression.
So, I’m using this expression that I took from internet to make the swing animation on my text:
freq = 1.5; decay = 0.8; duration = 0.10; r = textIndex*thisComp.frameDuration*0.7; t = time - (inPoint + r); startVal = [100,100,100];endVal = [0,0,0]; if (t < duration){ linear(t,0,duration,startVal,endVal); }else{ amp = (endVal - startVal)/duration; w = freq*Math.PI*2.5; endVal + amp*(Math.sin((t-duration)*w)/Math.exp(decay*(t-duration))/w);}
But I want to animation my letters in random. And I turn on the Randomize Order under Range Selector, it doesn’t do a thing, so how do I go about it?
Here’s a screen recording where you can see everything.
I also attached an AEP project file.
Hope you can give me any advice, I’m trying to learn more about expressions and any insight would be helpful.