fill(row, col, value)
Fills a specific cell in the quadrille with the specified value.
Example
(click on any cell to fill it with white; press any key to reset)
Syntax
fill(row, col, value)
Parameters
| Param | Description |
|---|---|
row |
Number: row number of the cell to fill [0..height] |
col |
Number: column number of the cell to fill [0..width] |
value1 |
Any: A valid JavaScript value |
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLengthmouseRowmouseColrandfill- 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.