extrusionMultiplier()

Set the extrusion multiplier applied to all subsequent auto-calculated extrusion amounts.

extrusionMultiplier() works like strokeWeight in p5.js: once set, it will apply to all moves until changed. You can scope a temporary change with push() and pop().

Note that the mutliplier is only applied to auto-calculated extrusion amounts; explicit extrusion will not be affected.

Parameters

Name Type Description
value number Multiplier value (e.g. 1.2 for 20% over-extrusion, 0.8 for under-extrusion).

Examples