Function

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

since v3001.0

group Draw

kaplay logo

Layer

Miscalenous