Preview Random Spawn Chance

Hey all, I am building a dungeon crawler with randomly generated objects.
I am painting the total area which the objects can spawn and defining their spawn chance. I would like to be able to preview how this looks with different iterations and values. Is there a way to do this?
ie: I paint a huge area with potential spawn points for the blue fern. I want to see how it looks with a 5%, 10%, 15% spawn rate.

Thank you in advance for your response.

For example, this is my area. Can I quickly populate a test of different spawn rates?

It can be done with automapping, you can have a rule that takes the spawner tile as an input and outputs to a preview layer with the desired probability. Automapping — Tiled 1.10.1 documentation

Another option is scripting, you could write a script that prompts you for a probability, creates a new layer, and outputs some tiles to it based on your spawner layer and the probability. Scripting — Tiled 1.10.1 documentation


Thank you for your help. I will have a look at both options. Have a pleasant day.