Skip to main content

Bezier Curve

A number from a curve: the curve’s height at a factor from 0 to 1.

Syntax​

{ "id": "n1", "op": "bezier-curve", "name": "bezier-curve", "x": 0, "y": 0, "params": {} }

One out of it starts at "sourcePort": "out"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:factor, or read elsewhere as ch('bezier-curve/factor').

Inputs​

This operator has no input ports.

Parameters​

ParameterKindDefaultChoices
factorfloat0.5
curvefield{"points":[{"x":0,"y":0,"handleRightX":0.3,"handleRightY":0},{"x":1,"y":1,"handleLeftX":0.7,"hand...

Outputs​

PortType
outnumber

Details​

  • Category: Numbers
  • Operator: bezier-curve

Older projects​

Projects saved before documents used operator classes. These convert to bezier-curve when they open: BezierCurveOp.