easeOutSine
It starts fast and ends slowly. The gentlest family: the speed changes slowly, so it reads as breathing, not as a hit.
easeOutSine reaches 50% of its travel at 33% of the time and 90% at 71%. Its peak speed is 1.57x the average.
Live demo
The blue box uses the exact linear() string below, in your browser. The grey box is linear.
easeOutSine
linear
Your system asks for reduced motion, so the boxes rest at the end of the move.
Numbers
- 50% of travel
- 33%of the time
- 90% of travel
- 71%of the time
- After 10% of time
- 15.64%of the travel is done
- Peak speed
- 1.57xtimes 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.1 points
Copy the code
animation-timing-function: linear(0, 0.0393, 0.0785, 0.1175, 0.1564, 0.1951, 0.2334, 0.2714, 0.309, 0.3461, 0.3827, 0.4187, 0.454, 0.4886, 0.5225, 0.5556, 0.5878, 0.6191, 0.6494, 0.6788, 0.7071, 0.7343, 0.7604, 0.7853, 0.809, 0.8315, 0.8526, 0.8725, 0.891, 0.9081, 0.9239, 0.9382, 0.9511, 0.9625, 0.9724, 0.9808, 0.9877, 0.9931, 0.9969, 0.9992, 1);animation-timing-function: cubic-bezier(0.33, 0.52, 0.64, 1);Least-squares fit to the easeOutSine curve; the worst gap is 0.1 points of travel. The linear() string is exact.
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0.33, 0.52, 0.64, 1)', fill: 'both' });import { easeOutSine } from '../../core/motion/curves.js';
import { curveToLinear } from '../../core/motion/springs.js';
const easing = curveToLinear(easeOutSine, { tolerance: 0.002 }); // the linear() string above
const x = easeOutSine(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 sine: ambient loops, slow camera drift and background layers.
Avoid it for
- Loops: it stops dead at the end and has no speed to hand on.
- For sine: moves that must hit hard: the gentle stop looks undecided.
The nearest vawe ease
The closest of the nine vawe After Effects eases is leave, an RMS gap of 0.0863 in progress. After Effects and vawe set the shape with two handles, so it can be tuned where a named curve cannot.