Loading...
Loading...
Use when implementing Disney's 12 animation principles in Adobe After Effects
npx skill4agent add dylantarre/animation-principles after-effects// Expression for automatic squash/stretch
s = transform.scale[1];
x = 100 + (100 - s) * 0.5;
[x, s]// Delay expression for child layers
thisComp.layer("Parent").transform.position.valueAtTime(time - 0.05)// Custom ease expression
ease(time, inPoint, outPoint, startValue, endValue)| Frames | Feel |
|---|---|
| 2-4 | Snappy, instant |
| 6-8 | Quick, energetic |
| 12-15 | Normal pace |
| 20-30 | Slow, heavy |
| 40+ | Dramatic, weighted |
// Overshoot expression
amp = 15;
freq = 3;
decay = 5;
t = time - key(numKeys).time;
if (t > 0) {
value + amp * Math.sin(t * freq * Math.PI * 2) / Math.exp(t * decay);
} else {
value;
}// Wiggle
wiggle(frequency, amplitude)
// Loop
loopOut("cycle")
// Time remap
timeRemap = linear(time, 0, duration, 0, 1)
// Bounce
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;
amp = 80; freq = 3; decay = 8;
value + amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);