mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00: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:
parent
6093780215
commit
f05dd416a4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue