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

@ -90,7 +90,7 @@ class ShowWord(Animation):
self.stroke_width = word.get_stroke_width()
Animation.__init__(self, word, run_time=run_time, **kwargs)
def update_mobject(self, alpha):
def interpolate_mobject(self, alpha):
word = self.mobject
stroke_width = self.stroke_width
count = int(alpha * len(word))