x & y
The x and y parameters define the upper-left corner where the quadrille is drawn, in pixels.
Example
(move the mouse to position q)
Syntax
drawQuadrille(quadrille, { x, y })
Parameters
| Param | Description |
|---|---|
x |
Number: The x-coordinate of the upper-left corner in pixels |
y |
Number: The y-coordinate of the upper-left corner in pixels |
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLength- 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.