Help needed. How to randomly array objects

one way could be to create some points/planes in space, and use those as destination to orient the geometries

to create a sort of gradient / fading distribution you can use something like explained here (there are many examples in the forum): How to apply voronoi to 3D surface equally? - #4 by inno