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