This might not be exactly what you’re looking for, but it might be helpful. If I was going to modify the animated text overshoot example on my site to animate out at the out point, I’d change this:
freq = 2;
decay = 5;
delay = .15;
dur = .12;
myDelay = (textIndex-1)*delay;
t = time - (inPoint + myDelay);
startVal = 100;
endVal = 0;
if(t < dur){
linear(t,0,dur,startVal,endVal);
}else{
amp = (endVal - startVal)/dur;
w = freq*Math.PI*2;
endVal + amp*(Math.sin(t*w)/Math.exp(decay*t)/w);
}
to this:
freq = 2;
decay = 5;
delay = .15;
dur = .12;
startVal = 100;
endVal = 0;
if (time < (inPoint + outPoint)/2){
myDelay = (textIndex-1)*delay;
t = time - (inPoint + myDelay);
}else{
myDelay = (textTotal-textIndex)*delay;
t = outPoint - (time + myDelay) - thisComp.frameDuration;
}
if(t < dur){
linear(t,0,dur,startVal,endVal);
}else{
amp = (endVal - startVal)/dur;
w = freq*Math.PI*2;
endVal + amp*(Math.sin(t*w)/Math.exp(decay*t)/w);
}