magnitude(row)
Returns the number of non-empty cells of a given quadrille row.
Example
Syntax
magnitude(row)
Parameters
| Param | Description |
|---|---|
row |
Number: row whose filled cells are counted [0..height] |
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLengthmouseRowrandsizemagnitude- p5.js
createCanvasbackgroundtextrandomint
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.