Rewrote ParametricFunction to have less buggy interpolation

This commit is contained in:
Grant Sanderson
2019-02-06 15:18:11 -08:00
parent 16e8a76c6a
commit 47f6d6ba38
8 changed files with 58 additions and 29 deletions

View File

@ -208,7 +208,6 @@ class DampenedSpring(Scene):
ParametricFunction(
lambda t : (t/denom)*RIGHT+np.sin(t)*UP+np.cos(t)*OUT,
t_max = 12*np.pi,
num_anchor_points = 100,
color = GREY,
).shift(3*LEFT)
for denom in (12.0, 2.0)