row & col
The row and col parameters define the position of the upper-left corner where the quadrille is drawn, in row and column units.
Example
(move the mouse to position q)
Note
The mouseRow and mouseCol Quadrille properties are used to dynamically position the
qquadrille based on the mouse location.
Syntax
drawQuadrille(quadrille, { row, col })
Parameters
| Param | Description |
|---|---|
row |
Number: The row position of the upper-left corner in units |
col |
Number: The column position of the upper-left corner in units |
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLengthmouseRowmouseCol- p5.js
createCanvasbackgroundcolor
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.