API

transytion Package

Functions

call_then_tween(tween[, manager])

Intended to be used as a decorator.

chain(tweens)

Take a list of tweens and create a single tween that is equivalent to each tween followed by the next.

copy(x)

Shallow copy operation on arbitrary Python objects.

dataclass([cls, init, repr, eq, order, ...])

Add dunder methods based on the fields defined in the class.

linear(x)

Linear tween that returns the thing itself.

repeat(tween[, count])

Repeats count times.

tween_then_call(tween, manager)

Intended to be used as a decorator.

tweenify(tween)

Makes a function when called return a tween that executes the decorated function for the tween's callback.

Classes

Any(*args, **kwargs)

Special type indicating an unconstrained type.

Callable()

Delay(duration)

Does not do anything but waits some time.

Tween(duration, obj, targets, float], start, ...)

A list of TweenNodes with some organizational skills.

TweenManager()

Keeps track of updating tweens in an update loop.

TweenNode(duration, obj, targets, float], ...)

Fundamental building block for Tweens.

transytion.ease_funcs Package

Functions

back(x)

Returns 'back' tween.

bounce(x)

Performs bound (out) tween.

circ(x)

Returns a circular tween.

cubic(x)

Cubic tween, returns the cube of itself.

elastic(x)

Returns elastic tween.

expo(x)

Exponential tween, returns 2^(10x - 10).

inout(f)

Doubles the speed of an easing function f.

linear(x)

Linear tween that returns the thing itself.

out(f)

Reverses the easing function.

quad(x)

Quadratic tween, returns the square of itself.

quart(x)

Quartic tween, returns itself raised to the fourth power.

quint(x)

Quintic tween, returns itself raised to the fifth power.

sine(x)

Sinusoidal tween.