z-agent / papers-context /agent_workspace /manim_docs /reference /manim.animation.movement.MoveAlongPath.md
ProgramerSalar's picture
fix: track binary files with Git LFS
dc00adb
|
Raw
History Blame Contribute Delete
1.85 kB

A newer version of the Gradio SDK is available: 6.22.0

Upgrade

MoveAlongPath

Qualified name: manim.animation.movement.MoveAlongPath

class MoveAlongPath(mobject=None, *args, use_override=True, **kwargs)

Bases: Animation

Make one mobject move along the path of another mobject.

Methods

interpolate_mobject Interpolates the mobject of the Animation based on alpha value.

Attributes

run_time
  • Parameters:
    • mobject (Mobject)
    • path (VMobject)
    • suspend_mobject_updating (bool)
    • kwargs (Any)

_original__init__(mobject, path, suspend_mobject_updating=False, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

  • Parameters:
    • mobject (Mobject)
    • path (VMobject)
    • suspend_mobject_updating (bool)
    • kwargs (Any)

interpolate_mobject(alpha)

Interpolates the mobject of the Animation based on alpha value.

  • Parameters: alpha (float) – A float between 0 and 1 expressing the ratio to which the animation is completed. For example, alpha-values of 0, 0.5, and 1 correspond to the animation being completed 0%, 50%, and 100%, respectively.
  • Return type: None