manim.animation.movement.Homotopy

class Homotopy(homotopy, mobject, run_time=3, apply_function_kwargs=None, **kwargs)[source]

Bases: manim.animation.animation.Animation

Homotopy is a function from (x, y, z, t) to (x’, y’, z’)

Methods

function_at_time_t

interpolate_submobject

Parameters
  • homotopy (Callable[[float, float, float, float], Tuple[float, float, float]]) –

  • mobject (Mobject) –

  • run_time (float) –

  • apply_function_kwargs (Optional[Dict[str, Any]]) –

Return type

None