manim.animation.update.UpdateFromFunc

class UpdateFromFunc(mobject, update_function, suspend_mobject_updating=False, **kwargs)[source]

Bases: manim.animation.animation.Animation

update_function of the form func(mobject), presumably to be used when the state of one mobject is dependent on another simultaneously animated mobject

Methods

interpolate_mobject

Parameters
  • mobject (Mobject) –

  • update_function (Callable[[Mobject], Any]) –

  • suspend_mobject_updating (bool) –

Return type

None