vaweGitHub

Easingvawe After Effects eases

settle

Eases at both ends, with long dead stops: it starts and ends at rest. It is for 0.5 s or more, and for a camera only at 2 s or more. A camera under 2 s takes land. settle reaches 50% of its travel at 50% of the time and 90% at 73%. Its peak speed is 2.5x the average.

Move

Demo

Progress against time, with the playhead0100.51progress50%90%Speed against time, in multiples of average speed01200.51speed, x average
Dashed: linear, and 1× speed. The dot and the line move with the object below.
Spacing: 24 equal steps of time
settle
linear
Bunched shapes are slow. Wide gaps are fast. Past the right line means overshoot.
settle
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: settle against linear.

Code

css linear() (exact)
animation-timing-function: linear(0, 0.0006, 0.0025, 0.0057, 0.0104, 0.0168, 0.0251, 0.0354, 0.048, 0.0631, 0.0811, 0.1023, 0.1272, 0.1562, 0.1899, 0.2287, 0.273, 0.323, 0.3783, 0.4379, 0.5, 0.5621, 0.6217, 0.677, 0.727, 0.7713, 0.8101, 0.8438, 0.8728, 0.8977, 0.9189, 0.9369, 0.952, 0.9646, 0.9749, 0.9832, 0.9896, 0.9943, 0.9975, 0.9994, 1);
cubic-bezier (exact)
animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1);

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

web animations api
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'linear(0, 0.0006, 0.0025, 0.0057, 0.0104, 0.0168, 0.0251, 0.0354, 0.048, 0.0631, 0.0811, 0.1023, 0.1272, 0.1562, 0.1899, 0.2287, 0.273, 0.323, 0.3783, 0.4379, 0.5, 0.5621, 0.6217, 0.677, 0.727, 0.7713, 0.8101, 0.8438, 0.8728, 0.8977, 0.9189, 0.9369, 0.952, 0.9646, 0.9749, 0.9832, 0.9896, 0.9943, 0.9975, 0.9994, 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.settle, fill: 'both' },
);

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

Numbers

50% of travel
50%of the time
90% of travel
73%of the time
After 10% of time
1.04%of the travel is done
Peak speed
2.5xtimes 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)long60%0x6.2%
in (second key)long60%0x6.2%

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: 66 segments (4.93%), 9.09% of the 616 entrances and 0% 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: 'long' }],
  [0.6, '0 0', { in: 'long' }],
]);

Use and avoid

Use for

  • Scan or wipe travel of 0.5 to 1 s: the line starts and ends at rest.
  • Big or heavy objects crossing the frame in 0.5 to 1 s: panels, full-width bars, device frames, a camera pull of 2 s or more.

Avoid for

  • Moves under 0.5 s and camera moves under 2 s: both ends are slow, so the dead start wastes the first 20% of the move. Use land.
  • Small, quick UI. A 0.2 s move spends most of it standing still.
Jobs for settle, from the job table
JobDuration
Camera move of 2 s or more2 s or more
Scan or wipe travel0.5 to 1 s

Video components that use settle

28 video components set EASE.settle. The first four play here.

Show the other 16

More easing