Ease

Easing functions and animation utilities


In Back

in_back(t: SupportsFloat) float

Back easing in (overshoot at start).

Args

  • t : Normalized time. Returns

float : Eased result.

In Bounce

in_bounce(t: SupportsFloat) float

Bounce easing in (bounces toward target).

Args

  • t : Normalized time. Returns

float : Eased result.

In Circ

in_circ(t: SupportsFloat) float

Circular easing in.

Args

  • t : Normalized time. Returns

float : Eased result.

In Cubic

in_cubic(t: SupportsFloat) float

Cubic easing in (very slow start).

Args

  • t : Normalized time. Returns

float : Eased result.

In Elastic

in_elastic(t: SupportsFloat) float

Elastic easing in (springy start).

Args

  • t : Normalized time. Returns

float : Eased result.

In Expo

in_expo(t: SupportsFloat) float

Exponential easing in.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Back

in_out_back(t: SupportsFloat) float

Back easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Bounce

in_out_bounce(t: SupportsFloat) float

Bounce easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Circ

in_out_circ(t: SupportsFloat) float

Circular easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Cubic

in_out_cubic(t: SupportsFloat) float

Cubic easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Elastic

in_out_elastic(t: SupportsFloat) float

Elastic easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Expo

in_out_expo(t: SupportsFloat) float

Exponential easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Quad

in_out_quad(t: SupportsFloat) float

Quadratic easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Quart

in_out_quart(t: SupportsFloat) float

Quartic easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Quint

in_out_quint(t: SupportsFloat) float

Quintic easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Out Sin

in_out_sin(t: SupportsFloat) float

Sinusoidal easing in and out.

Args

  • t : Normalized time. Returns

float : Eased result.

In Quad

in_quad(t: SupportsFloat) float

Quadratic easing in (slow start).

Args

  • t : Normalized time. Returns

float : Eased result.

In Quart

in_quart(t: SupportsFloat) float

Quartic easing in.

Args

  • t : Normalized time. Returns

float : Eased result.

In Quint

in_quint(t: SupportsFloat) float

Quintic easing in.

Args

  • t : Normalized time. Returns

float : Eased result.

In Sin

in_sin(t: SupportsFloat) float

Sinusoidal easing in.

Args

  • t : Normalized time. Returns

float : Eased result.

Linear

linear(t: SupportsFloat) float

Linear easing.

Args

  • t : Normalized time (0.0 to 1.0). Returns

float : Eased result.

Out Back

out_back(t: SupportsFloat) float

Back easing out (overshoot at end).

Args

  • t : Normalized time. Returns

float : Eased result.

Out Bounce

out_bounce(t: SupportsFloat) float

Bounce easing out (bounces after start).

Args

  • t : Normalized time. Returns

float : Eased result.

Out Circ

out_circ(t: SupportsFloat) float

Circular easing out.

Args

  • t : Normalized time. Returns

float : Eased result.

Out Cubic

out_cubic(t: SupportsFloat) float

Cubic easing out (fast then smooth).

Args

  • t : Normalized time. Returns

float : Eased result.

Out Elastic

out_elastic(t: SupportsFloat) float

Elastic easing out (springy end).

Args

  • t : Normalized time. Returns

float : Eased result.

Out Expo

out_expo(t: SupportsFloat) float

Exponential easing out.

Args

  • t : Normalized time. Returns

float : Eased result.

Out Quad

out_quad(t: SupportsFloat) float

Quadratic easing out (fast start).

Args

  • t : Normalized time. Returns

float : Eased result.

Out Quart

out_quart(t: SupportsFloat) float

Quartic easing out.

Args

  • t : Normalized time. Returns

float : Eased result.

Out Quint

out_quint(t: SupportsFloat) float

Quintic easing out.

Args

  • t : Normalized time. Returns

float : Eased result.

Out Sin

out_sin(t: SupportsFloat) float

Sinusoidal easing out.

Args

  • t : Normalized time. Returns

float : Eased result.