Generate random panels depending on height

What would be the easiest way to populate a surface with panels where the quantity of panels reduce the more verticle you are? At the moment i am using a simple randomizer. It works quite well but i want to add a verticle rule to it. So the the greater the z value the less chance there is for that area to be populated.

Random Panel (7.0 KB)

Random Panel (12.4 KB)

1 Like