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 Mon Sep 21 15:53:24 2020.

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