vaweGitHub

Easingvawe After Effects eases

launch

An exit that starts gently and speeds up, at most 3x average at the cut. launch reaches 50% of its travel at 77% of the time and 90% at 96%. Its peak speed is 3x the average.

Exit

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
launch
linear
Bunched shapes are slow. Wide gaps are fast. Past the right line means overshoot.
launch
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: launch against linear.

Code

css linear() (exact)
animation-timing-function: linear(0, 0.0005, 0.0019, 0.0042, 0.0074, 0.0116, 0.0166, 0.0226, 0.0296, 0.0375, 0.0463, 0.0561, 0.0669, 0.0787, 0.0916, 0.1055, 0.1205, 0.1367, 0.154, 0.1725, 0.1922, 0.2133, 0.2357, 0.2595, 0.2848, 0.3117, 0.3402, 0.3704, 0.4025, 0.4365, 0.4727, 0.5111, 0.5519, 0.5953, 0.6416, 0.6911, 0.7441, 0.8009, 0.862, 0.9282, 1);
cubic-bezier (exact)
animation-timing-function: cubic-bezier(0.3333, 0, 0.75, 0.25);

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

web animations api
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'linear(0, 0.0005, 0.0019, 0.0042, 0.0074, 0.0116, 0.0166, 0.0226, 0.0296, 0.0375, 0.0463, 0.0561, 0.0669, 0.0787, 0.0916, 0.1055, 0.1205, 0.1367, 0.154, 0.1725, 0.1922, 0.2133, 0.2357, 0.2595, 0.2848, 0.3117, 0.3402, 0.3704, 0.4025, 0.4365, 0.4727, 0.5111, 0.5519, 0.5953, 0.6416, 0.6911, 0.7441, 0.8009, 0.862, 0.9282, 1)', fill: 'both' });
vawe
import { EASE } from '../../core/motion/presets.js';

// 0.3 s: 0.6 of a 0.5 s entrance. fill forwards, never both: a backwards fill would cover the entrance.
el.animate(
  [{ translate: '0 0', opacity: 1 }, { translate: '0 -0.3em', opacity: 0 }],
  { duration: 300, easing: EASE.launch, fill: 'forwards' },
);

// the helper does the same from the entrance's length: leave(el, { ease: 'launch' })
// per-frame code (window.seek, vawe.onFrame): easeFn('launch')(u)

Numbers

50% of travel
77%of the time
90% of travel
96%of the time
After 10% of time
0.74%of the travel is done
Peak speed
3xtimes 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)custom25%3x0.3%

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: 2 segments (0.15%), 0.32% 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: 'easyEase' }],
  [0.6, '0 0', { in: { influence: 25, speed: 3 } }],
]);

Use and avoid

Use for

  • The default exit, 0.35 to 0.6 of the entrance (0.3 s after a 0.5 s one), or 0.18 to 0.3 s when the entrance length is unknown: opacity 1 to 0 while it moves out. leave() uses it.
  • Wipes and clears that hand the frame to the next beat.

Avoid for

  • Any move that has to land. It ends at speed.
  • A settle or a hand-off the page names: use leave.
Jobs for launch, from the job table
JobDuration
Exit0.35 to 0.6 of the entrance (0.3 s after a 0.5 s one); 0.18 to 0.3 s when the entrance length is unknown

Video components that use launch

25 video components set EASE.launch. The first four play here.

Show the other 13

More easing