does anyone know the code that would make a random landscape with a black rectangle background 600 pixels wide by 400 pixels tall. with randomly placed, random sized and randomly colored rectangles aligned on the bottom of the black rectangle.

If you have the code please post it here. it would be very much appreciated. thanks.