🖌 Sets the amount of straight line segments used to make a curve.
Only takes effect in q5 WebGPU.
curve detail level, default is 20
await Canvas(200);curveDetail(4);strokeWeight(10);stroke(0, 1, 1);curve(-100, -200, -50, 0, 50, 0, 100, -200); Copy
await Canvas(200);curveDetail(4);strokeWeight(10);stroke(0, 1, 1);curve(-100, -200, -50, 0, 50, 0, 100, -200);
🖌 Sets the amount of straight line segments used to make a curve.
Only takes effect in q5 WebGPU.