draws a Bezier curve.
Curve x0,y0,x1,y1,x2,y2,x3,y3
x0,y0,x1,y1,x2,y2,x3,y3: Single exp
Curve x0,y0,x1,y1,x2,y2,x3,y3 draws a Bezier curve. The Bezier curve starts at x0,y0 and ends at x3,y3. At x0,y0 the curve is a tangent to the line from x0,y0 to x1,y1 and at x3,y3 a tangent to the line from x3,x3 to x2,y2.
If points x0,y0,...,x3,y3 are viewed as corners of a rectangle, the curve lies fully within this rectangle. (The curve can also be seen as a line between x0,y0 and x3,y3 which is pushed away from the points x1,y1 and x2,y2).
OpenW # 1
Curve 10, 10, 10, 100, 100, 100, 100, 100
-
{Created by Sjouke Hamstra; Last updated: 27/09/2014 by James Gaite}