Easing#

class Easing#

Describes the available easing functions for use with TimedAnimation.

New values may be added to this enumeration over time.

Methods#

class Easing
ease(value: float) float#

Computes easing with easing for value.

value should generally be in the [0, 1] range.

Parameters:

value – a value to ease

Fields#

class Easing
EASE#

Cubic bezier tweening, with control points in (0.25, 0.1) and (0.25, 1.0).

Increases in velocity towards the middle of the animation, slowing back down at the end.

Added in version 1.7.

EASE_IN#

Cubic bezier tweening, with control points in (0.42, 0.0) and (1.0, 1.0).

Starts off slowly, with the speed of the animation increasing until complete.

Added in version 1.7.

EASE_IN_BACK#

Overshooting cubic tweening, with backtracking on start.

EASE_IN_BOUNCE#

Exponentially decaying parabolic (bounce) tweening, on start.

EASE_IN_CIRC#

Circular tweening.

EASE_IN_CUBIC#

Cubic tweening.

EASE_IN_ELASTIC#

Elastic tweening, with offshoot on start.

EASE_IN_EXPO#

Exponential tweening.

EASE_IN_OUT#

Cubic bezier tweening, with control points in (0.42, 0.0) and (0.58, 1.0).

Starts off slowly, speeds up in the middle, and then slows down again.

Added in version 1.7.

EASE_IN_OUT_BACK#

Overshooting cubic tweening, with backtracking on both ends, combining ease-in-back and ease-out-back.

EASE_IN_OUT_BOUNCE#

Exponentially decaying parabolic (bounce) tweening, with bounce on both ends, combining ease-in-bounce and ease-out-bounce.

EASE_IN_OUT_CIRC#

Circular tweening, combining ease-in-circ and ease-out-circ.

EASE_IN_OUT_CUBIC#

Cubic tweening, combining ease-in-cubic and ease-out-cubic.

EASE_IN_OUT_ELASTIC#

Elastic tweening, with offshoot on both ends, combining ease-in-elastic and ease-out-elastic.

EASE_IN_OUT_EXPO#

Exponential tweening, combining ease-in-expo and ease-out-expo.

EASE_IN_OUT_QUAD#

Quadratic tweening, combining ease-in-quad and ease-out-quad.

EASE_IN_OUT_QUART#

Quartic tweening, combining ease-in-quart and ease-out-quart.

EASE_IN_OUT_QUINT#

Quintic tweening, combining ease-in-quint and ease-out-quint.

EASE_IN_OUT_SINE#

Sine wave tweening, combining ease-in-sine and ease-out-sine.

EASE_IN_QUAD#

Quadratic tweening.

EASE_IN_QUART#

Quartic tweening.

EASE_IN_QUINT#

Quintic tweening.

EASE_IN_SINE#

Sine wave tweening.

EASE_OUT#

Cubic bezier tweening, with control points in (0.0, 0.0) and (0.58, 1.0).

Starts quickly, slowing down the animation until complete.

Added in version 1.7.

EASE_OUT_BACK#

Overshooting cubic tweening, with backtracking on end, inverse of ease-in-back.

EASE_OUT_BOUNCE#

Exponentially decaying parabolic (bounce) tweening, with bounce on end, inverse of ease-in-bounce.

EASE_OUT_CIRC#

Circular tweening, inverse of ease-in-circ.

EASE_OUT_CUBIC#

Cubic tweening, inverse of ease-in-cubic.

EASE_OUT_ELASTIC#

Elastic tweening, with offshoot on end, inverse of ease-in-elastic.

EASE_OUT_EXPO#

Exponential tweening, inverse of ease-in-expo.

EASE_OUT_QUAD#

Quadratic tweening, inverse of ease-in-quad.

EASE_OUT_QUART#

Quartic tweening, inverse of ease-in-quart.

EASE_OUT_QUINT#

Quintic tweening, inverse of ease-in-quint.

EASE_OUT_SINE#

Sine wave tweening, inverse of ease-in-sine.

LINEAR#

Linear tweening.