rate_func can no longer be None, must be a function. Use 'linear' instead of None

This commit is contained in:
Grant Sanderson
2019-02-05 15:39:58 -08:00
parent dcb7dc8a1d
commit b7cf5e82e3
58 changed files with 160 additions and 149 deletions

View File

@ -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()