Bezier
Module Geometry.Beziers
Creating
Basic quadratic
One of the simplest beziers to create is a quadratic bezier, with a start and end point along with a ‘bend’ amount. The bend amount is a bipolar value from -1 to 1, with 0 meaning no bend, ie. a straight line.
Using quadraticSimple :
Simple bezier playground
Quadratic
An alternative way of making a quadratic bezier is with quadratic , which takes a start and end along with a single control point.
Quadratic bezier playground
Cubic
Cubic beziers, created with cubic , require four points. A start and end, along with the position of two control points.
Cubic bezier playground
Math
interpolator computes a point along bezier path.