Copy link to clipboard
Copied
I'm a novice when it comes to expressions and the such. I've been trying to use the expression selector to make templates of repeated text animations I use. The one I'm having dificulties with is the anticipation text animations. What I want to do is move the characters in the opposite direction of the value I have for half the duration and then the other half move the character down to the value I have placed in. I've used linear expressions and i'm tearing my hair out cause it's not working correctly.
This is what I have now and I was going to add easing settings once it was setup. I think there's probably a better and more elegant solution to what I have:
startVal = 100;
endVal = -0;
os = .35; // anticipation amount
durOUT = 2; // length of animation
earlyOUT = .5; // added time to hold on the end value
delay = (5)*.01; // the delay between Characters
speedIndex = 1.5; // speed of text moving??
myDelay = delay * textIndex;
timeOUTa = (time - outPoint + durOUT + earlyOUT) * speedIndex - myDelay; // start outgoing process for anticipation
timeOUTb = (time - outPoint + durOUT - (durOUT*.125) + earlyOUT) * speedIndex - (myDelay*.5); // start the outgoing process for the final value
ta = linear(timeOUTa -(durOUT *.1), 0, durOUT/textTotal + (durOUT * .01), endVal, startVal * - os);
tb = linear(timeOUTb +(durOUT *.1), durOUT*.5, (textIndex/textTotal) + (durOUT* .01) , endVal, startVal - (startVal * - os));
ta + tb
Any help would be greatly appreciated. Thanks!
Copy link to clipboard
Copied
Oh Also, I combined a "Flow" curve that works but it's heavy: