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
| Parameter | Kind | Default | Choices |
|---|---|---|---|
factor | float | 0.5 | |
curve | field | {"points":[{"x":0,"y":0,"handleRightX":0.3,"handleRightY":0},{"x":1,"y":1,"handleLeftX":0.7,"hand... |
Outputs
| Port | Type |
|---|---|
out | number |
Details
- Category: Numbers
- Operator:
bezier-curve
Older projects
Projects saved before documents used operator classes. These convert to bezier-curve when they open: BezierCurveOp.