Bezier

ABSTRACT

Generates a Bezier curve mesh based on specified control points.

PARAMETERS
control_pointsa list of control points defining the Bezier curve. In particular, you must provide 3n+1 3-vectors for some integer n. The first four vertices form a cubic curve. Then, the window shifts by 3 and vertices at indices 3, 4, 5, and 6, form the next set and so on. If the final point is equal to the initial point, the loop is closed. Otherwise, it is bounded by invisible dots.
taga vector of numbers used as the mesh's tag
defaultan enum branch specifying to use the default coloring scheme, which is a white stroke with no fill
strokea 4-vector representing the color of the curve's stroke
strokea 4-vector representing the color of the curve's stroke
filla 4-vector representing the color of the curve's fill. Providing this value forces an uprank.
RETURN

generates a Bezier curve conforming to the specified control points

DECLARATION
func Bezier(control_points, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})