vaweGitHub

EasingClassic eases

easeInQuad

It starts slowly and ends fast. A mild, even curve: a clear ease without drama.

easeInQuad reaches 50% of its travel at 71% of the time and 90% at 95%. Its peak speed is 2x the average.

Classic easesfamily: quadpeak 2x

Progress against time0100.51progress50%90%
The dashed line is linear. The dots mark 50% and 90% of the travel.
Velocity, in multiples of average speed0100.51speed, x average
The dashed line is 1x, the speed of linear.

Live demo

The blue box uses the exact linear() string below, in your browser. The grey box is linear.

easeInQuad
linear

Your system asks for reduced motion, so the boxes rest at the end of the move.

Numbers

50% of travel
71%of the time
90% of travel
95%of the time
After 10% of time
1%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

Copy the code

css linear() (exact)
animation-timing-function: linear(0, 0.0006, 0.0025, 0.0056, 0.01, 0.0156, 0.0225, 0.0306, 0.04, 0.0506, 0.0625, 0.0756, 0.09, 0.1056, 0.1225, 0.1406, 0.16, 0.1806, 0.2025, 0.2256, 0.25, 0.2756, 0.3025, 0.3306, 0.36, 0.3906, 0.4225, 0.4556, 0.49, 0.5256, 0.5625, 0.6006, 0.64, 0.6806, 0.7225, 0.7656, 0.81, 0.8556, 0.9025, 0.9506, 1);
cubic-bezier (matches within 0.5%)
animation-timing-function: cubic-bezier(0.34, 0, 0.68, 0.36);

Least-squares fit to the easeInQuad curve; the worst gap is 0.2 points of travel. The linear() string is exact.

web animations api
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0.34, 0, 0.68, 0.36)', fill: 'both' });
vawe
import { easeInQuad } from '../../core/motion/curves.js';
import { curveToLinear } from '../../core/motion/springs.js';

const easing = curveToLinear(easeInQuad, { tolerance: 0.002 }); // the linear() string above
const x = easeInQuad(u);                                         // per-frame code, u in 0..1

When to use it, and when to avoid it

Use it for

  • Exits and build-ups that leave the frame at speed.
  • For quad: small UI changes and hover states where a light ease is enough.

Avoid it for

  • Entrances: the first frames barely move, so the viewer waits.
  • For quad: hero moves: the stop is too soft to feel designed.

The nearest vawe ease

The closest of the nine vawe After Effects eases is launch, an RMS gap of 0.0554 in progress. After Effects and vawe set the shape with two handles, so it can be tuned where a named curve cannot.