Spline - r3n/rebol-wiki GitHub Wiki

SPLINE

The spline command lets you draw a curve through any number of points. The smoothness of the curve will be determined by the segment factor that you specify.

Arg Type Description Values
segmentation [integer!] Optional. Number of segments between each point; default is 1.
closed [word!] Optional. 'closed will cause the path to be closed between the start and end points.
point1 [pair!]
point2 [pair!]
... [pair!] none


Notes and Examples

spline 20x20 200x70 150x200 50x230 50x300 80x300 200x200


spline 3 20x20 200x70 150x200 50x230 50x300 80x300 200x200


spline 10 20x20 200x70 150x200 50x230 50x300 80x300 200x200


spline 10 closed 20x20 200x70 150x200 50x230 50x300 80x300 200x200


⚠️ **GitHub.com Fallback** ⚠️