Procedurally placing cubes on a plane

Made a script that places cubes with various randomised parameters on a plane. Figure this sort of technique might be useful for quickly placing clutter like trees and rocks.

Cube forest

Cube forest