-->

Randomly Generated Maps



Realistic Terrain in 130 Lines is an interesting tutorial explaining how to use fractals to randomly generate an oblique view of a mountainous terrain. The results are very impressive.

The code uses the diamond square model to create the terrain in only 130 lines of code. The terrain is stored as a simple height map which is a 2-dimensional array of values representing the height of the
LihatTutupKomentar