Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Cleaned up duplicate entry for MoveAlongPath in simple_animations

Sridhar Ramesh685750486a21
diff --git a/animation/simple_animations.py b/animation/simple_animations.py
index a3b6a956b..0faf71e86 100644
--- a/animation/simple_animations.py
+++ b/animation/simple_animations.py
@@ -150,17 +150,6 @@ class ShowCreationThenDestruction(ShowPassingFlash):
"run_time" : 1,
}
-class MoveAlongPath(Animation):
- def __init__(self, mobject, vmobject, **kwargs):
- digest_config(self, kwargs, locals())
- Animation.__init__(self, mobject, **kwargs)
-
- def update_mobject(self, alpha):
- self.mobject.shift(
- self.vmobject.point_from_proportion(alpha) - \
- self.mobject.get_center()
- )
-
class Homotopy(Animation):
CONFIG = {
"run_time" : 3,