Is there a way to make random grids/layouts in Processing?

see Creating a grid with a PShape