Intertial Bounce Expression in After Effects (Expression for Organic Movement)
Вставка
- Опубліковано 14 жов 2024
- Intertial Bounce Expression in After Effects (Expression for Organic Movement) #shorts
Here's how you can use the Inertial Bounce Expression in After Effects to add organic movement to your keyframe animations.
Tutorial by Justin Serran
amp = .1;
freq = 2.0;
decay = 2.0;
n = 0;
time_max = 4;
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 < time_max){
v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{value}
thanx!
can you give me the address of code
thnx for sharing