bezier()
Shape / CurvesDescription
Draws a cubic bezier curve on the screen.
Syntax
void bezier(float x1, float y1, float cx1, float cy1, float cx2, float cy2, float x2, float y2)
Parameters
| Name | Type | Description |
|---|---|---|
| x1 | float | x of start point |
| y1 | float | y of start point |
| cx1 | float | x of first control point |
| cy1 | float | y of first control point |
| cx2 | float | x of second control point |
| cy2 | float | y of second control point |
| x2 | float | x of end point |
| y2 | float | y of end point |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...