-
Text scaling overshoot
I’m trying to animate a text, that have to scale up from 0 to 100 percent. I want each character to scale sequentially (first the number one, then numer two….). Is there an expression for it?
I think that the expression I need it’s between this one:
freq = 3;
decay = 5;
t = time – inPoint;startVal = [0,0];
endVal = [100,100];
dur = 0.1;
if (t < dur){
linear(t,0,dur,startVal,endVal);
}else{
amp = (endVal – startVal)/dur;
w = freq*Math.PI*2;
endVal + amp*(Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w);
}and this one:
freq = 3;
decay = 5;
maxDelay = 1.0;seedRandom(textIndex,true);
myDelay = random(maxDelay);
t = time – (inPoint + myDelay);
startVal = [100,100];
endVal = [0,0];
dur = 0.1;
if (t < dur){
linear(t,0,dur,startVal,endVal);
}else{
amp = (endVal – startVal)/dur;
w = freq*Math.PI*2;
endVal + amp*(Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w);
}The first one gave me scale, but all characters scale at the same time, and the second one, it’s not correct, ’cause I don’t need it to be random.
Sorry if you already talk about this in the forum, but I didn’t find it.
Thanks a lot-MiL-
