rand(args)

Randomly fills or clears a specified number of times cells in the quadrille.

For deterministic (repeatable) randomness, explicitly call randomSeed(seed) before rand(args).