Aim: Start with a white canvas with hidden buttons of different sizes of rectangles; Every click reveals a coloured rectangle; A custom Mondrian pattern is generated Functions: makeGrid mergeSomeGridCells assignColourToCells turnColoursToButtons Variables: Grid – size, n of rows, n of columns Cells Colours Buttons ...
Continue Reading