easeOutCubic
It starts fast and ends slowly. The usual default curve: a firm start or stop that most viewers read as natural.
easeOutCubic reaches 50% of its travel at 21% of the time and 90% at 54%. Its peak speed is 3x the average.
Live demo
The blue box uses the exact linear() string below, in your browser. The grey box is linear.
easeOutCubic
linear
Your system asks for reduced motion, so the boxes rest at the end of the move.
Numbers
- 50% of travel
- 21%of the time
- 90% of travel
- 54%of the time
- After 10% of time
- 27.1%of the travel is done
- Peak speed
- 3xtimes the average
- Overshoot
- 0%stays inside the end
- Undershoot
- 0%never below the start
- linear() points
- 41at a 0.002 tolerance
- cubic-bezier
- exactworst gap 0.2 points
Copy the code
animation-timing-function: linear(0, 0.0731, 0.1426, 0.2085, 0.271, 0.3301, 0.3859, 0.4385, 0.488, 0.5345, 0.5781, 0.6189, 0.657, 0.6925, 0.7254, 0.7559, 0.784, 0.8099, 0.8336, 0.8553, 0.875, 0.8928, 0.9089, 0.9232, 0.936, 0.9473, 0.9571, 0.9657, 0.973, 0.9792, 0.9844, 0.9886, 0.992, 0.9946, 0.9966, 0.998, 0.999, 0.9996, 0.9999, 1, 1);animation-timing-function: cubic-bezier(0.33, 1, 0.67, 1);Least-squares fit to the easeOutCubic curve; the worst gap is 0.2 points of travel. The linear() string is exact.
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0.33, 1, 0.67, 1)', fill: 'both' });import { easeOutCubic } from '../../core/motion/curves.js';
import { curveToLinear } from '../../core/motion/springs.js';
const easing = curveToLinear(easeOutCubic, { tolerance: 0.002 }); // the linear() string above
const x = easeOutCubic(u); // per-frame code, u in 0..1When to use it, and when to avoid it
Use it for
- Entrances and replies to a click, where the thing should respond at once and then settle.
- For cubic: general UI and card moves between 200 and 500 ms.
Avoid it for
- Loops: it stops dead at the end and has no speed to hand on.
- For cubic: long travel across the frame: the stop is abrupt for the distance.
The nearest vawe ease
The closest of the nine vawe After Effects eases is landSoft, an RMS gap of 0.0189 in progress. After Effects and vawe set the shape with two handles, so it can be tuned where a named curve cannot.