Easing Functions

Linear

x

Ease in (polynomial)

xn

Ease out (polynomial)

1 - (1 - x)n

Ease in (circular)

1 - sqrt(1 - xn)

Ease out (circular)

sqrt(1 - (1 - x)n)

Ease in (sinusoidal)

1 - cos(x * 0.5 * π)1/n

Ease out (sinusoidal)

sin(x * 0.5 * π)1/n

Ease in/out (sinusoidal)

- cos(x * π) / 2 + .5

Overshoot

1 - cos(4π * x)*(1 - x)

Bounce

(1-x) * abs(sin(π / (2x-2)))