Table of Contents
Author’s Note
The paper below was written last year, from more or less a stream of consciousness over the course of a week or two. Technically, it is still unfinished; there are some errors, concepts that could be better explained, and suboptimal notation. Despite this, I decided to post it anyways since it contained some interesting ideas.
Since then, I have improved my skills and understanding in After Effects regarding expressions and sliders. Below the paper are corrections I want to make, followed up with an actual, practical, methodology.
Revisions
Cubic Ease Formula
The cubic formula can be greatly simplified. I failed to realize that .
Next, solving for is unnecessary, since normalizing will set the output range to .
Simplify.
This is the final cubic ease equation given start time and end time .
The following is “new” material, better outlined the Simplified Methodology section. If we first normalize time via , then the burden of restraining values is heavily lifted from the cubic. Essentially, this locks in , and for the equation. (With better notation, we have: , and , ). This collapses the cubic equation to:
Simplified Methodology
Here are the steps to the Ease equation.
Step 1: Normalize Time
Normalize time between start () and end (). This means that , and .
After Effects has the linear() expression to normalize. The output will also be constrained to . This can also be achieved with a Slider Control.
t1 = key(1).time;t2 = key(2).time;t = linear(time, t1, t2, 0, 1);
Step 2: Choose Normalized Curve
Choose a rate of transition (linear, cosine, cubic, etc) to determine the output curve of the transition. Normalize again. Below are some examples. Note: easing is not the only application; see exponential scaling.
Linear
Cosine
Cubic
Quintic
Logistic at
Step 3: Transition
Construct a linear function such that and .