The idee was to generate a randomly influenced gridsurface of landscape character (code 1) and use this gridsurface as a placement guide for the buildingblock of exercise one.

Therefore the freedom of movement of the mesh was increased into x y and z (code 2).

The last step was to place a house structure on each gridcell its height and proportions depending on the seize of the cell. (code 3)

commands

code1 :
(drawmesh no_xcells no_ycells spacingx spacingy spacingz)

code2:
(drawmesh no_xcells no_ycells spacingx spacingy spacingz randomnessfactor)

code3:
(drawmesh no_xcells no_ycells spacingx spacingy spacingz randomnessfactor)