Star

Created With

linkdrawQuadrille()

p5.js function that draws a quadrille.

linkSyntax

drawQuadrille(quadrille, [{[graphics], [x], [y], [tileDisplay], [imageDisplay], [colorDisplay], [stringDisplay], [numberDisplay], [arrayDisplay], [objectDisplay], [cellLength], [outlineWeight], [outline], [textColor], [textZoom]}])

linkParameters

quadrilleQuadrille: quadrille to be drawn
graphicsp5.Graphics: renderer taget default is this (main canvas)
tileDisplayFunction: empty cell drawing custom procedure
imageDisplayFunction: image filled cell drawing custom procedure
colorDisplayFunction: color filled cell drawing custom procedure
stringDisplayFunction: string filled cell drawing custom procedure
numberDisplayFunction: number filled cell drawing custom procedure
arrayDisplayFunction: array filled cell drawing custom procedure
objectDisplayFunction: object filled cell drawing custom procedure
xNumber: upper left quadrille pixel x coordinate default is 0.
yNumber: upper left quadrille pixel y coordinate default is 0.
cellLengthNumber: edge length in pixels default is 10
outlineWeightNumber: edge weight defaut is 2. Use 0 to discard all edges
outlinep5.Color representation: edge color default is magenta
textColorp5.Color representation: text color default is cyan
textZoomNumber:: text zoom level default is 0.89
drawQuadrille()SyntaxParameters

Home

p5.js functionschevron_right

Properties

I/Ochevron_right
Boolean operatorschevron_right
Geometry transformationschevron_right
Visual computingchevron_right
Other representationschevron_right

Demo