update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation

This commit is contained in:
Grant Sanderson
2019-02-08 11:57:27 -08:00
parent bf3d9c9b5a
commit 1c4ff6a556
30 changed files with 92 additions and 78 deletions

View File

@ -30,7 +30,7 @@ class TrigAnimation(Animation):
self.center = mobject.get_center()
Animation.__init__(self, mobject, **kwargs)
def update_mobject(self, alpha):
def interpolate_mobject(self, alpha):
theta = 2*np.pi*alpha
circle_point = np.cos(theta)*RIGHT+np.sin(theta)*UP+self.center
points = [