mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 22:03:01 +08:00
rate_func can no longer be None, must be a function. Use 'linear' instead of None
This commit is contained in:
@ -237,7 +237,7 @@ class DampenedSpring(Scene):
|
||||
self.add(moving_spring, equation)
|
||||
self.play(UpdateFromAlphaFunc(
|
||||
moving_spring, update_spring, run_time = 10,
|
||||
rate_func = None
|
||||
rate_func=linear
|
||||
))
|
||||
self.wait()
|
||||
|
||||
|
Reference in New Issue
Block a user