NOTE! This is an approximation of Perlin Noise! :-S
Noise is at the root of most procedurally generated content. However, just choosing random numbers alone is insufficient. Perlin noise adds local coherence over different scales to generate natural looking formations, which can be further processed into assets for all sorts of algorithms and games. This video shows 1D and 2D Perlin noise being created and displayed at the command prompt.