Terrain generation

Perlin noise, cosine interpolation, averaged smooth noise, etc.