2D Procedural Terrain Generation

Basic terrain generation using 2D Perlin Noise. Perlin Noise is a function that essentially creates pseudo-random values in a gradient-like manner. By stacking multiple layers of noise (octaves) on top of each other and assigning specific colors to certain value ranges, 'realistic' landscapes can be created.

Each additional octave represents an additional level of detail. The sliders 'frequency increase' and 'amplitude persistance' control the level of detail that gets added with each octave.

You can move the map with your mouse. The graph at the bottom shows the 1D noise at the selected cross section or the elevation profile, respectively.

Most important source was Sebastian Lague's YouTube playlist on Procedural Landmass Generation.