alpha_func and interpoloation_function renamed to rate_func and path_func

This commit is contained in:
Grant Sanderson
2016-01-01 14:51:16 -08:00
parent 0827db0259
commit 4b479cac1d
20 changed files with 98 additions and 98 deletions

View File

@ -266,7 +266,7 @@ def not_quite_there(func = smooth, proportion = 0.7):
def wiggle(t, wiggles = 2):
return there_and_back(t) * np.sin(wiggles*np.pi*t)
def squish_alpha_func(func, a = 0.4, b = 0.6):
def squish_rate_func(func, a = 0.4, b = 0.6):
def result(t):
if t < a:
return func(0)