movis.motion.Easing#

class movis.motion.Easing(value)[source]#

Constants for determining the completion function between keyframes.

Constants:
LINEAR

Linear interpolation between keyframes.

EASE_IN

Ease in motion between keyframes. The larger the number, the more drastic the rate of change becomes.

EASE_OUT

Ease out motion between keyframes. The larger the number, the more drastic the rate of change becomes.

EASE_IN_OUT

Ease in and out motion between keyframes. The larger the number, the more drastic the rate of change becomes.

Methods

static from_string(s: str) Easing[source]#

Convert a string to a motion type.

Attributes

LINEAR

EASE_IN

EASE_OUT

EASE_IN_OUT

FLAT

EASE_IN2

EASE_IN3

EASE_IN4

EASE_IN5

EASE_IN6

EASE_IN7

EASE_IN8

EASE_IN9

EASE_IN10

EASE_IN12

EASE_IN14

EASE_IN16

EASE_IN18

EASE_IN20

EASE_IN25

EASE_IN30

EASE_IN35

EASE_OUT2

EASE_OUT3

EASE_OUT4

EASE_OUT5

EASE_OUT6

EASE_OUT7

EASE_OUT8

EASE_OUT9

EASE_OUT10

EASE_OUT12

EASE_OUT14

EASE_OUT16

EASE_OUT18

EASE_OUT20

EASE_OUT25

EASE_OUT30

EASE_OUT35

EASE_IN_OUT2

EASE_IN_OUT3

EASE_IN_OUT4

EASE_IN_OUT5

EASE_IN_OUT6

EASE_IN_OUT7

EASE_IN_OUT8

EASE_IN_OUT9

EASE_IN_OUT10

EASE_IN_OUT12

EASE_IN_OUT14

EASE_IN_OUT16

EASE_IN_OUT18

EASE_IN_OUT20

EASE_IN_OUT25

EASE_IN_OUT30

EASE_IN_OUT35