mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user