reflect()
Reflects the quadrille across its horizontal axis — top and bottom rows swap (a vertical flip). Returns the quadrille (chainable).
Example
(mouse click or press any key to reflect the quadrille)
Syntax
reflect()
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLengthrandreflect- p5.js
createCanvasbackground
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.