mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
Corrected partial_bezier_points
An explanation of why I changed this can be found here: https://codepen.io/anthonynorthrup314/full/qVLWJY/
This commit is contained in:
@ -182,7 +182,7 @@ def partial_bezier_points(points, a, b):
|
||||
for i in range(len(points))
|
||||
])
|
||||
return np.array([
|
||||
bezier(a_to_1[:i+1])(b)
|
||||
bezier(a_to_1[:i+1])((b-a)/(1.-a))
|
||||
for i in range(len(points))
|
||||
])
|
||||
|
||||
|
Reference in New Issue
Block a user