mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
Merge branch 'master' of github.com:3b1b/manim
This commit is contained in:
@ -150,17 +150,6 @@ class ShowCreationThenDestruction(ShowPassingFlash):
|
|||||||
"run_time" : 1,
|
"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):
|
class Homotopy(Animation):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
"run_time" : 3,
|
"run_time" : 3,
|
||||||
|
Reference in New Issue
Block a user