direction

abstract fun direction(t: Double): Vec2(source)

Return

the tangent at the interpolated position on the curve, which is not normalized

Parameters

t

a parametric point on the curve, not necessarily within 0, 1