Name

curve()

Examples
noFill()
stroke(255, 102, 0)
curve(5, 26, 5, 26, 73, 24, 73, 61)
stroke(0)
curve(5, 26, 73, 24, 73, 61, 15, 65)
stroke(255, 102, 0)
curve(73, 24, 73, 61, 15, 65, 15, 65)
Description
Syntax
curve(x1, y1, x2, y2, x3, y3, x4, y4)
curve(x1, y1, z1, x2, y2, z2, x3, y3, z3, x4, y4, z4)
Parameters
x1
y1
x2
y2
x3
y3
x4
y4
z1
z2
z3
z4
Related curveVertex()
curveTightness()
bezier()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License