mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
alpha_func and interpoloation_function renamed to rate_func and path_func
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user