This sketch demonstrates how to randomly position towers of various heights. It is the intial work for creating an isometric city of skyscrapers.
The sketch uses a matrix to ensure that towers are not placed on the same square. It also draws the towers in the proper isometric perspective so that everything is behind what it should be behind.
You can click on the sketch to redraw the towers at different positions and heights.