There was an error while loading. Please reload this page.
Evaluates the derivative of a Bézier curve at parameter t (its tangent).
t
result = pymath.eval_bezier_deriv(t, p1, p2 [, p3, ...])
number
[0, 1]
p1, p2, ...
pymath.eval_bezier
result
n - 1
n - 2
-- the tangent of a straight segment is constant local d = pymath.eval_bezier_deriv(0.5, {0, 0}, {1, 2}) -- d == {1, 2}
Minimum PYTHA Version: V27
pymath, pymath.eval_bezier