4.2 Skill 2: Multiple shapes on a tile
It is possible to draw multiple shapes on a single tile. This is not a necessary requirement for this wallpaper project, but it offers creative possibilities in terms of tile design and might be fun for you to experiment with.
To create multiple shapes, each shape requires its own beginShape() and endShape(Close) commands. Each shape can be assigned a different colour using the fill() command. Shapes can overlap, with the later ones in the code covering earlier ones, as shown in the example below.
OpenLearn - Algorithmic Design 
Except for third party materials and otherwise, this content is made available under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Licence, full copyright detail can be found in the acknowledgements section. Please see full copyright statement for details.