createQuadrille(width, height)

Creates an empty quadrille having width number of columns and height number of rows.

Example

edit, then run

Note

createQuadrille(width, height) creates an empty quadrille with the given dimensions. See fill and rand for ways to populate it.

Syntax

createQuadrille(width, height)

Parameters

Param Description
width Number: total number of columns
height Number: total number of rows
What this page's examples use
p5.quadrille
drawQuadrille createQuadrille cellLength
p5.js
createCanvas background

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.