clear(row)

Clears an entire row in the quadrille, setting each cell in the row to empty (i.e., null).

Example

(click on a row to clear it; press any key to reset)

edit, then run

Syntax

clear(row)

Parameters

Param Description
row Number: The row index to clear [0..height]
What this page's examples use
p5.quadrille
drawQuadrille createQuadrille cellLength mouseRow rand clear
p5.js
createCanvas background color

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.