API¶
transytion Package¶
Functions¶
|
Intended to be used as a decorator. |
|
Take a list of tweens and create a single tween that is equivalent to each tween followed by the next. |
|
Shallow copy operation on arbitrary Python objects. |
|
Add dunder methods based on the fields defined in the class. |
|
Linear tween that returns the thing itself. |
|
Repeats count times. |
|
Intended to be used as a decorator. |
|
Makes a function when called return a tween that executes the decorated function for the tween's callback. |
Classes¶
|
Special type indicating an unconstrained type. |
|
|
|
Does not do anything but waits some time. |
|
A list of TweenNodes with some organizational skills. |
Keeps track of updating tweens in an update loop. |
|
|
Fundamental building block for Tweens. |
transytion.ease_funcs Package¶
Functions¶
|
Returns 'back' tween. |
|
Performs bound (out) tween. |
|
Returns a circular tween. |
|
Cubic tween, returns the cube of itself. |
|
Returns elastic tween. |
|
Exponential tween, returns 2^(10x - 10). |
|
Doubles the speed of an easing function |
|
Linear tween that returns the thing itself. |
|
Reverses the easing function. |
|
Quadratic tween, returns the square of itself. |
|
Quartic tween, returns itself raised to the fourth power. |
|
Quintic tween, returns itself raised to the fifth power. |
|
Sinusoidal tween. |