Name | bezierDetail()贝塞尔曲线分辨率 | ||||
Examples | // Move the mouse left and right to see the detail change void setup() { size(100, 100, P3D); noFill(); } void draw() { background(204); int d = int(map(mouseX, 0, 100, 1, 20)); bezierDetail(d); bezier(85, 20, 10, 10, 90, 90, 15, 80); } |
||||
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. 设置曲线显示的分辨率。默认值为20。此函数仅在使用 P3D 渲染器时有用;默认的 P2D 呈现器不使用此信息。 |
||||
Syntax | bezierDetail(detail) | ||||
Parameters |
|
||||
Returns | void | ||||
Related | curve() curveVertex() curveTightness() |
- 本文固定链接: http://iprocessing.cn/2017/07/28/bezierdetail曲线分辨率/
- 转载请注明: 卡萨布兰卡 于 Processing编程艺术 发表