MCPcopy Index your code
hub / github.com/benfry/processing4 / curveTightness

Method curveTightness

core/src/processing/core/PGraphics.java:3632–3635  ·  view source on GitHub ↗

Modifies the quality of forms created with curve() and curveVertex() . The parameter tightness determines how the curve fits to the vertex points. The value 0.0 is the default value for tightness (this value defines the curves to be Catmull-Rom splines) and the value 1.0 c

(float tightness)

Source from the content-addressed store, hash-verified

3630 * @see PGraphics#curveVertex(float, float)
3631 */
3632 public void curveTightness(float tightness) {
3633 curveTightness = tightness;
3634 curveInit();
3635 }
3636
3637
3638 protected void curveInitCheck() {

Callers

nothing calls this directly

Calls 1

curveInitMethod · 0.95

Tested by

no test coverage detected