My goal with the following definition is to:

- Generate a grid
- Divide this grid into 10 groups - let’s imagine for this example that each of the groups represent a different colour - but not necessarily be divided equally.
- The selection of squares from within the grid needs to be done randomly, in order to achieve a random distribution of coloured squares.
- Adjust the weight of each group with some number sliders - i.e. if I want more or less blue squares, I want to be able to adjust this separately.

Points 1-3 I’ve been able to do, using the Dispatch tool to split the grid, but I don’t know how to adjust the weights. Any advice on how best to approach this?

Random tiling.gh (7.9 KB)