mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 05:52:34 +08:00
Further fixes to Succession animations
This commit is contained in:
@ -307,7 +307,7 @@ def interpolate(start, end, alpha):
|
||||
def mid(start, end):
|
||||
return (start + end)/2.0
|
||||
|
||||
def anti_interpolate(start, end, value):
|
||||
def inverse_interpolate(start, end, value):
|
||||
return np.true_divide(value - start, end - start)
|
||||
|
||||
def clamp(lower, upper, val):
|
||||
|
Reference in New Issue
Block a user