I´m trying to fill a grid with 3 different sizes of tiles. The tile width will be the same as the grids panel width, but the tile height can be either 0.5, 1.0 or 1,5 of the grids panel height. I want to control the grid size and the amount of the two largest tiles. X amount of the smallest tiles would fill in the remaining grid space. Location of the tiles on the grid would be random.
Hard to explain, attached is a picture of what I´m trying to achieve.
There might be a really easy solution to this, but I don´t really know how to continue after having the grid made. All suggestions are welcome. Thanks!
This worked great for me, thanks! One question, I was able to get your script to do “1,2,3”, “2,4,6”, “3,6,9” etc by using rectangular grid instead of square grid, but you’ll notice those patterns are each divisible by the first number. Is there a way to make it take any panel size, for example “2, 5, 9”?
I can tell its the edges with “remainders” that are confusing it because sometimes the edge condition is not within the selected panel sizes.