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:
Anthony Northrup
2017-11-30 12:48:03 -05:00
committed by GitHub
parent 6093780215
commit f05dd416a4

View File

@ -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))
])