mobject_update_utils#

Utility functions for continuous animation of mobjects.

Functions

always(method, *args, **kwargs)[source]#
always_redraw(func)[source]#
always_rotate(mobject, rate=0.3490658503988659, **kwargs)[source]#
always_shift(mobject, direction=array([1., 0., 0.]), rate=0.1)[source]#
assert_is_mobject_method(method)[source]#
cycle_animation(animation, **kwargs)[source]#
f_always(method, *arg_generators, **kwargs)[source]#

More functional version of always, where instead of taking in args, it takes in functions which output the relevant arguments.

turn_animation_into_updater(animation, cycle=False, **kwargs)[source]#

Add an updater to the animation’s mobject which applies the interpolation and update functions of the animation

If cycle is True, this repeats over and over. Otherwise, the updater will be popped upon completion