Renderables

Bezier

A smooth cubic Bézier curve between two points.

Object type renderable pins

A Bezier is a cubic Bézier curve from start to end. It leaves start heading towards the control point cp1 and arrives at end coming from cp2; the curve doesn't usually pass through the control points. All four points are relative to its position. Like every Line, it has a stroke and no fill.

Hierarchy

Parents
Line → Renderable
Subtypes
None

Properties

NameTypeNotes
positionPoint from Renderable
rotationnumber from Renderable
scalenumber from Renderable
opacitynumberread-only from Renderable
blendModeBlendModeread-only from Renderable
strokeStroke from Line
startPoint
cp1Point
cp2Point
endPoint

Nodes

Break Bezier

Node id break/Bezier

Inputs

NameTypeDefaultNotes
objectBeziertype default

Outputs

NameTypeNotes
positionPoint
rotationnumber
scalenumber
opacitynumber
blendModeBlendMode
strokeStroke
startPoint
cp1Point
cp2Point
endPoint

Make Bezier

Node id make/Bezier

Inputs

NameTypeDefaultNotes
positionPoint{ x: 0, y: 0 }
rotationnumber0
scalenumber1
strokeStroke{ width: 1, color: { r: 0, g: 0, b: 0, a: 1 }, dashStyle: "SOLID", caps: "round" }
startPoint{ x: -150, y: -75 }
cp1Point{ x: -50, y: 75 }
cp2Point{ x: 50, y: -75 }
endPoint{ x: 150, y: 75 }

Outputs

NameTypeNotes
objectBezier

Set Bezier

Node id set/Bezier

Inputs

NameTypeDefaultNotes
objectBeziertype default
positionPoint—
rotationnumber—
scalenumber—
strokeStroke—
startPoint—
cp1Point—
cp2Point—
endPoint—

Outputs

NameTypeNotes
objectBezier

Lerp Bezier

Node id lerp/Bezier

Inputs

NameTypeDefaultNotes
aBeziertype default
bBeziertype default
tnumber0.5

Outputs

NameTypeNotes
resultBezier

Notes

  • Default. Make Bezier gives an S-shaped curve from (-150, -75) to (150, 75), with control points (-50, 75) and (50, -75).
  • Sampling. Sample and Point At space points evenly in the curve's parameter, not along its length: points bunch up where the curve is tight.

Lerp

Lerp Bezier blends all four points, the transform and the stroke. t is clamped to 0, 1.

  • Spline, for a smooth curve through many points.
  • Polyline, for straight pieces.
  • Arc, for circular curves.
© 2026 Wirepaint