Easing
Back to the reference

Easing

The easing curves, kept apart from Math so they do not swamp it.

32 symbols

easeOutBouncefunctionnacatamalon

easeOutBounce(t: number) => number

Bounce ease-out: lands and bounces like a dropped ball.

The other two bounce curves are written in terms of this one, so it is the only place the four arcs are spelled out.

Parameters

tnumber

How far along, from 0 at the start to 1 at the end.

View source · math/easing/functions/ease_out_bounce.ts:16

TEaseFntypenacatamalon

TEaseFn: (t: number) => number

An easing function: maps normalized time t in [0, 1] to an eased progress value (also normally [0, 1], though back/elastic overshoot outside it). Drives how a tween accelerates: pass one as the ease of a tween, or sample it directly.

View source · math/easing/types/t_ease_fn.ts:10