easeInExpo
It starts slowly and ends fast. An extreme ease: one tenth of the time carries most of the travel. easeInExpo reaches 50% of its travel at 90% of the time and 90% at 98%. Its peak speed is 6.93x the average.
Demo
easeInExpo
linear
easeInExpo
linear
Your system asks for reduced motion, so nothing plays. The charts above show the whole move.
Code
animation-timing-function: linear(0, 0.0011, 0.0012, 0.0013, 0.0014, 0.0015, 0.0016, 0.0018, 0.002, 0.0021, 0.0023, 0.0025, 0.0028, 0.003, 0.0033, 0.0036, 0.0039, 0.0043, 0.0046, 0.0051, 0.0055, 0.006, 0.0066, 0.0072, 0.0078, 0.0085, 0.0093, 0.0101, 0.011, 0.012, 0.0131, 0.0143, 0.0156, 0.017, 0.0186, 0.0203, 0.0221, 0.0241, 0.0263, 0.0287, 0.0313, 0.0341, 0.0372, 0.0405, 0.0442, 0.0482, 0.0526, 0.0573, 0.0625, 0.0682, 0.0743, 0.0811, 0.0884, 0.0964, 0.1051, 0.1146, 0.125, 0.1363, 0.1487, 0.1621, 0.1768, 0.1928, 0.2102, 0.2293, 0.25, 0.2726, 0.2973, 0.3242, 0.3536, 0.3856, 0.4204, 0.4585, 0.5, 0.5453, 0.5946, 0.6484, 0.7071, 0.7711, 0.8409, 0.917, 1);animation-timing-function: cubic-bezier(0.69, 0, 0.85, 0.01);Least-squares fit; the worst gap is 0.4 points of travel. The linear() string is exact.
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0.69, 0, 0.85, 0.01)', fill: 'both' });import { easeInExpo } from '../../core/motion/curves.js';
import { curveToLinear } from '../../core/motion/springs.js';
const easing = curveToLinear(easeInExpo, { tolerance: 0.002 }); // the linear() string above
const x = easeInExpo(u); // per-frame code, u in 0..1Numbers
- 50% of travel
- 90%of the time
- 90% of travel
- 98%of the time
- After 10% of time
- 0.2%of the travel is done
- Peak speed
- 6.93xtimes the average
- Overshoot
- 0%stays inside the end
- Undershoot
- 0%never below the start
- linear() points
- 81at a 0.002 tolerance
- cubic-bezier
- exactworst gap 0.4 points
Use and avoid
Use for
- Exits and build-ups that leave the frame at speed.
Avoid for
- Entrances: the first frames barely move, so the viewer waits.
- Anything the viewer must follow with the eye: the fast section is too short to track.
Nearest vawe ease
launch, curve gap 0.1778.