David Sekiguchi's profile

Dan Ebbert's overshoot

Dan Ebberts Overshoot
I'm trying to use more expressions in my workflow and came up with a simple warm up for overshoot using Dan Ebbert's amazing overshoot expression tutorial. For the shape layers, I animated the position and scale parameters for the jump and scale action. If I was to do this again, I'd definitely use nulls.
Here's the expression I used from Dan on the position parameter:

amp = .1;
freq = 2.0;
decay = 3;
n = 0;
if (numKeys > 0){
n = nearestKey(time).index;
if (key(n).time > time){
n--;
}}
if (n == 0){ t = 0;
}else{
t = time - key(n).time;
}
if (n > 0 && t < 1){
v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{value}

You can find an in depth explaination on his website: 
Dan Ebbert's overshoot
Published:

Owner

Dan Ebbert's overshoot

Warm up with expressions

Published:

Creative Fields