vaweGitHub

Easingvawe After Effects eases

glide

A slow drift: it starts gently and never fully stops. glide reaches 50% of its travel at 51% of the time and 90% at 82%. Its peak speed is 1.47x the average.

Move

Demo

Progress against time, with the playhead0100.51progress50%90%Speed against time, in multiples of average speed0100.51speed, x average
Dashed: linear, and 1× speed. The dot and the line move with the object below.
Spacing: 24 equal steps of time
glide
linear
Bunched shapes are slow. Wide gaps are fast. Past the right line means overshoot.
glide
linear

Your system asks for reduced motion, so nothing plays. The charts above show the whole move.

Four interface motions with this ease
Card enters
Modal scales in
Toast drops
Menu slides
2 s film from the vawe renderer: glide against linear.

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);

Exact: the two After Effects handles are the two control points. EASE.glide uses the linear() string above.

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)

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

After Effects handles

Set these in After Effects under Keyframe Velocity: the outgoing handle on the first key, the incoming handle on 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.33%0x33.35%
in (second key)custom33%0.1x33.27%

Measured on 1,339 Lottie segments (2,678 handles) and 27 HyperFrames segments. Near means influence within 10 points and speed within 0.3. 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 } }],
]);

Use and avoid

Use 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 for

  • Camera moves under 2 s: the slow tail needs time to be seen. Use land.
  • Entrances. There is no clear arrival, so the viewer cannot tell when the thing has landed.
Jobs for glide, from the job table
JobDuration
Camera move of 2 s or more2 s or more
Hold driftthe length of the hold, 2 s or more

Video components that use glide

11 video components set EASE.glide. The first four play here.

More easing