fill()
Fills quadrille cells with given pattern
. Either current empty cells, a whole row, or a given cell.
fill(pattern)
fill(row, pattern)
fill(row, col, pattern)
pattern | p5.Image | p5.Graphics | p5.Color | array | object | string | number |
row | Number: col number of the cell to be filled [0..height] |
col | Number: row number of the cell to be filled [0..width] |