TILE TOY: NEW FEATURE
I have just spent the morning adding a new feature to my Tile Toy script called Sparsity. I can now control how dense the pattern will be by telling the tool to favor empty tiles – or at least tiles with no connection – by a certain percentage.
Every time the tool chooses a tile it will first pick a random number between 0-100. If the random number is less than or equal to the percentage input it will verify that no neighboring tiles require a connection and then pick an empty tile. If, however, there are tiles next to it that do require a connection it will simply disregard the sparseness. This way the percentage could be somewhat misleading but over a long enough period of time I guess it will even out.