vaweGitHub

Easingvawe After Effects eases

glide

A slow drift: it starts gently and never quite comes to a stop.

glide reaches 50% of its travel at 51% of the time and 90% at 82%. Its peak speed is 1.47x the average.

vawe After Effects easespeak 1.47x

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.

glide
linear

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

Rendered with the vawe renderer: a 2 s film, glide against linear. It plays while on screen.

Numbers

50% of travel
51%of the time
90% of travel
82%of the time
After 10% of time
2.71%of the travel is done
Peak speed
1.47xtimes the average
Overshoot
0%stays inside the end
Undershoot
0%never below the start
linear() points
41at a 0.002 tolerance
cubic-bezier
exactbuilt from two handles

Copy the code

css linear() (exact)
animation-timing-function: linear(0, 0.0018, 0.007, 0.0155, 0.0271, 0.0415, 0.0587, 0.0784, 0.1005, 0.1248, 0.1511, 0.1792, 0.209, 0.2402, 0.2728, 0.3065, 0.3411, 0.3766, 0.4126, 0.4491, 0.4858, 0.5226, 0.5593, 0.5957, 0.6317, 0.667, 0.7016, 0.7352, 0.7676, 0.7987, 0.8282, 0.8561, 0.8821, 0.906, 0.9276, 0.9469, 0.9635, 0.9773, 0.9881, 0.9957, 1);
cubic-bezier (exact)
animation-timing-function: cubic-bezier(0.3333, 0, 0.67, 0.967);

This ease is a cubic bezier by construction: the two After Effects handles are its two control points. The site ships the linear() string above because it is what the renderer and EASE.glide use.

web animations api
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'linear(0, 0.0018, 0.007, 0.0155, 0.0271, 0.0415, 0.0587, 0.0784, 0.1005, 0.1248, 0.1511, 0.1792, 0.209, 0.2402, 0.2728, 0.3065, 0.3411, 0.3766, 0.4126, 0.4491, 0.4858, 0.5226, 0.5593, 0.5957, 0.6317, 0.667, 0.7016, 0.7352, 0.7676, 0.7987, 0.8282, 0.8561, 0.8821, 0.906, 0.9276, 0.9469, 0.9635, 0.9773, 0.9881, 0.9957, 1)', fill: 'both' });
vawe
import { EASE } from '../../core/motion/presets.js';

el.animate(
  [{ translate: '0 4vh', opacity: 0 }, { translate: '0 0', opacity: 1 }],
  { duration: 500, easing: EASE.glide, fill: 'both' },
);

// per-frame code (window.seek, vawe.onFrame): easeFn('glide')(u)

After Effects handles

One segment between two keys has two handles. In After Effects, open Keyframe Velocity on each key: the outgoing handle belongs to the first key and the incoming handle to the second. Influence is how far along the segment the handle reaches, in per cent of its duration. Speed is the pace at the key as a multiple of the segment's average (0 stops dead, 1 is straight).

HandleNameInfluenceSpeedReal handles near it
out (first key)easyEase33.333333333333336%0x33.35%
in (second key)custom33%0.1x33.27%

Measured on 1,339 real segments (2,678 handles) from Lottie files and 27 from HyperFrames blocks. Near means influence within 10 points and speed within 0.3 (25% above 1x). Both handles together: 324 segments (24.2%), 23.05% of the 616 entrances and 8.77% of the 57 exits.

vawe: key table
import { keys } from '../../core/motion/presets.js';

// out handle on the first key, in handle on the second
keys(el, 'translate', [
  [0, '0 6vh', { out: 'easyEase' }],
  [0.6, '0 0', { in: { influence: 33, speed: 0.1 } }],
]);

When to use it, and when to avoid it

Use it for

  • Camera pushes and slow scale on a held shot, over 2 s or more.
  • A background layer behind a still title, where motion must be felt and not followed.

Avoid it for

  • Entrances. There is no clear arrival, so the viewer cannot tell when the thing has landed.
  • Short moves. The slow tail needs time to be seen.

Moves that use glide

10 of the library's motion moves set EASE.glide in their snippet.