drawCurve(curve: (t: number)=>Vec2, opt: DrawCurveOpt): void

Draw a curve.
drawCurve(t => evaluateBezier(a, b, c, d, t)
{
    width: 2,
    color: rgb(0, 0, 255),
})
kaplay logo

Misc