vaweGitHub

Easingvawe After Effects eases

carry

It starts gently and is still moving fast at the end, so the next key can carry on. carry reaches 50% of its travel at 77% of the time and 90% at 97%. Its peak speed is 4.79x the average.

Move

Demo

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

Code

css linear() (exact)
animation-timing-function: linear(0, 0.0002, 0.0008, 0.0017, 0.003, 0.0046, 0.0065, 0.0087, 0.0112, 0.014, 0.017, 0.0204, 0.024, 0.0278, 0.0319, 0.0362, 0.0407, 0.0455, 0.0505, 0.0558, 0.0612, 0.0669, 0.0728, 0.0789, 0.0853, 0.0918, 0.0986, 0.1055, 0.1127, 0.1201, 0.1277, 0.1355, 0.1435, 0.1518, 0.1602, 0.1689, 0.1778, 0.1869, 0.1962, 0.2058, 0.2156, 0.2256, 0.2359, 0.2464, 0.2571, 0.2681, 0.2794, 0.291, 0.3028, 0.3149, 0.3272, 0.3399, 0.3529, 0.3662, 0.3799, 0.3939, 0.4082, 0.423, 0.4381, 0.4536, 0.4696, 0.4861, 0.5031, 0.5206, 0.5386, 0.5573, 0.5766, 0.5966, 0.6175, 0.6392, 0.6618, 0.6855, 0.7105, 0.7368, 0.7648, 0.7947, 0.827, 0.8623, 0.9016, 0.9464, 1);
cubic-bezier (exact)
animation-timing-function: cubic-bezier(0.3333, 0, 0.88, 0.424);

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

web animations api
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'linear(0, 0.0002, 0.0008, 0.0017, 0.003, 0.0046, 0.0065, 0.0087, 0.0112, 0.014, 0.017, 0.0204, 0.024, 0.0278, 0.0319, 0.0362, 0.0407, 0.0455, 0.0505, 0.0558, 0.0612, 0.0669, 0.0728, 0.0789, 0.0853, 0.0918, 0.0986, 0.1055, 0.1127, 0.1201, 0.1277, 0.1355, 0.1435, 0.1518, 0.1602, 0.1689, 0.1778, 0.1869, 0.1962, 0.2058, 0.2156, 0.2256, 0.2359, 0.2464, 0.2571, 0.2681, 0.2794, 0.291, 0.3028, 0.3149, 0.3272, 0.3399, 0.3529, 0.3662, 0.3799, 0.3939, 0.4082, 0.423, 0.4381, 0.4536, 0.4696, 0.4861, 0.5031, 0.5206, 0.5386, 0.5573, 0.5766, 0.5966, 0.6175, 0.6392, 0.6618, 0.6855, 0.7105, 0.7368, 0.7648, 0.7947, 0.827, 0.8623, 0.9016, 0.9464, 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.carry, fill: 'both' },
);

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

Numbers

50% of travel
77%of the time
90% of travel
97%of the time
After 10% of time
1.12%of the travel is done
Peak speed
4.79xtimes the average
Overshoot
0%stays inside the end
Undershoot
0%never below the start
linear() points
81at 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)fling12%4.8x0.37%

Measured on 1,339 Lottie segments (2,678 handles) and 27 HyperFrames segments. Near means influence within 10 points and speed within 0.3. No Lottie segment has both handles near this pair.

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: 'fling' }],
]);

Use and avoid

Use for

  • A move that runs into a cut or a wipe, where the speed should pass to the next shot.
  • Carousels and orbits with keys one after another.

Avoid for

  • A move that must come to rest. It ends at speed and looks cut off.
  • Moves with no next move to take the speed.

Video components that use carry

9 video components set EASE.carry. The first four play here.

More easing