trim()
Returns a new quadrille trimmed to its minimal span of filled cells. Returns undefined if the quadrille has no filled cells.
Example
(press mouse or press keys to randomize chess pattern)
Syntax
trim()
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLengthclearchessSymbolsorspantrim- 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.