Name

curveTightness()

Examples
size(100, 400)
noFill()
background(204)
for i in range(6):
    curveTightness(-5 + (i*2))
    pushMatrix()
    translate(0, i*60)
    beginShape()
    curveVertex(10, 26)
    curveVertex(10, 26)
    curveVertex(83, 24)
    curveVertex(83, 61)
    curveVertex(25, 65)
    curveVertex(25, 65)
    endShape()
    popMatrix()
Description
Syntax
curveTightness(tightness)
Parameters
tightness
Related curve()
curveVertex()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License