mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Use rate function on MoveAlongPath
This commit is contained in:
parent
dcf3eb8416
commit
f8fedffa4c
1 changed files with 1 additions and 1 deletions
|
@ -114,5 +114,5 @@ class MoveAlongPath(Animation):
|
|||
super().__init__(mobject, suspend_mobject_updating=suspend_mobject_updating, **kwargs)
|
||||
|
||||
def interpolate_mobject(self, alpha: float) -> None:
|
||||
point = self.path.quick_point_from_proportion(alpha)
|
||||
point = self.path.quick_point_from_proportion(self.rate_func(alpha))
|
||||
self.mobject.move_to(point)
|
||||
|
|
Loading…
Add table
Reference in a new issue