Name

bezierDetail()

Examples
# Move the mouse left and right to see the detail change
size(100, 300, P3D)
noFill()
background(204)
for i, detail in enumerate([1, 4, 7, 12, 20]):
  pushMatrix()
  translate(0, i*50)
  bezierDetail(detail)
  bezier(85, 20, 10, 10, 90, 90, 15, 80)
  popMatrix()
Description Sets the resolution at which Beziers display. The default value is 20. This function is only useful when using the P3D renderer; the default P2D renderer does not use this information.
Syntax
bezierDetail(detail)
Parameters
detailint: resolution of the curves
Related curve()
curveVertex()
curveTightness()

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.