CATMULLROM
A Catmull-Rom spline: a smooth curve through its points, each part shaped by the points either side of it.
Syntax
CATMULLROM [points]
CATMULLROM @id,[points],closed,alpha,layer
| Argument | Meaning |
|---|---|
| [points] | The points it passes through, in order. |
| closed | TRUE to join the last point back to the first. Given with alpha. |
| alpha | How the parts are spaced, 0 to 1: 0 uniform, 0.5 centripetal (the default: no loops or cusps), 1 chordal. |
The id, layer and any settings after it are the element settings.
Examples
P4=[250,500]
CATMULLROM [P0,P1,P2,P4,P3]
CATMULLROM @2,[P0,P1,P2,P4,P3],TRUE,0.5,1

Notes
Moving a point changes only the curve near it. See also: CUBICSPLINE, HERMITE, BSPLINE.