easeOutQuad
It starts fast and ends slowly. A mild, even curve. easeOutQuad reaches 50% of its travel at 29% of the time and 90% at 68%. Its peak speed is 2x the average.
Demo
easeOutQuad
linear
easeOutQuad
linear
Your system asks for reduced motion, so nothing plays. The charts above show the whole move.
Code
animation-timing-function: linear(0, 0.0494, 0.0975, 0.1444, 0.19, 0.2344, 0.2775, 0.3194, 0.36, 0.3994, 0.4375, 0.4744, 0.51, 0.5444, 0.5775, 0.6094, 0.64, 0.6694, 0.6975, 0.7244, 0.75, 0.7744, 0.7975, 0.8194, 0.84, 0.8594, 0.8775, 0.8944, 0.91, 0.9244, 0.9375, 0.9494, 0.96, 0.9694, 0.9775, 0.9844, 0.99, 0.9944, 0.9975, 0.9994, 1);animation-timing-function: cubic-bezier(0.32, 0.64, 0.66, 1);Least-squares fit; 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.32, 0.64, 0.66, 1)', fill: 'both' });import { easeOutQuad } from '../../core/motion/curves.js';
import { curveToLinear } from '../../core/motion/springs.js';
const easing = curveToLinear(easeOutQuad, { tolerance: 0.002 }); // the linear() string above
const x = easeOutQuad(u); // per-frame code, u in 0..1Numbers
- 50% of travel
- 29%of the time
- 90% of travel
- 68%of the time
- After 10% of time
- 19%of the travel is done
- Peak speed
- 2xtimes 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
Use and avoid
Use for
- Entrances and replies to a click, where the thing should respond at once and then settle.
- Small UI changes and hover states.
Avoid for
- Loops: it stops dead at the end and has no speed to hand on.
- Hero moves: the stop is too soft.
Nearest vawe ease
landSoft, curve gap 0.1121.