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),
});

sincev3001.0

kaplay logo

Misc

Layer