fill()

Fills all cells in the quadrille with a chessboard pattern.

Example

edit, then run

Syntax

fill()

Parameters

Param Description
Quadrille.lightSquare String | p5.Color: Global color for the light squares. Accepts an HTML color string (e.g., 'red', '#ff0000', 'rgb(255,0,0)') or a p5.Color instance. Default is #FDCDAA
Quadrille.darkSquare String | p5.Color: Global color for the dark squares. Accepts an HTML color string or a p5.Color instance. Default is #D28C45
What this page's examples use
p5.quadrille
drawQuadrille createQuadrille cellLength fill tileDisplay darkSquare lightSquare
p5.js
createCanvas

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.