Skip to main content
Known Participant
August 25, 2021
Question

cant edit full duration of text animation

  • August 25, 2021
  • 1 reply
  • 702 views

Hi I want to decrees the duration of my text animation with this expression ,

I've tried edit the duration value but it dosen't work it seems like it change the scale or the overshot of the characters not the full duration 

how do i change the full duration of the animation in this expression ?

freq = 1;
decay = 6;
duration = 0.25;
retard = (textTotal-textIndex)*thisComp.frameDuration*2;
t = time - (inPoint + retard);
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;
endVal + amp*(Math.sin((t-duration)*w)/Math.exp(decay*(t-duration))/w);}

This topic has been closed for replies.

1 reply

Dan Ebberts
Community Expert
Community Expert
August 25, 2021

I think what you want to adjust is the retard variable. To make the whole animation faster, try this:

retard = (textTotal-textIndex)*thisComp.frameDuration/2;
Known Participant
August 25, 2021

dosen't work its limit is 1 second i cant make it faster than 1 second idk y ?? i can make it slower than 1s but i cant make it faster than 1s

i want my animation to be done in like 10 or 15 frames 

Dan Ebberts
Community Expert
Community Expert
August 25, 2021

How many characters is your text?