Heightmaps
Noise has many uses, and we will examine several. First is generating a heightmap. If the noiseField function we just wrote in pseudocode produces a Field2, we can use its toTrimesh method to generate the geometry and a TerrainCamera to move around on it.
This renderer lets you adjust the terrain's vertical scale and number of octaves while holding the backing noise field constant:
Or you can produce a completely new terrain by regenerating the gradients.