Quadrille.outlineWeight

Defines the default outline weight (stroke thickness) for drawing the quadrille cells. The default value is Quadrille.outlineWeight, which is 2.

Example

edit, then run

Note

  • q1 is drawn with an outline weight controlled by the local slider (localSlider).
  • q2, q3, and q4 use the global Quadrille.outlineWeight, which can be adjusted by the global slider (globalSlider).

Syntax

drawQuadrille(quadrille, { outlineWeight })

Parameters

Param Description
outlineWeight Number: Specifies the outline weight (stroke thickness). The default is Quadrille.outlineWeight, which is 2
What this page's examples use
p5.quadrille
drawQuadrille createQuadrille cellLength outlineWeight
p5.js
createCanvas background value position input createSlider

Names the analysis can prove are called, and the line each one is documented on. Local variables and members of an unknown receiver are left out.