Home▸Game Development▸Fractal Value-Noise Terrain: Hill-Shaded Height Map, Octave Profile and Roughness Slope (2D)

Fractal Value-Noise Terrain: Hill-Shaded Height Map, Octave Profile and Roughness Slope (2D)

A flat view of the same fractal terrain: a hill-shaded height map with water level and a summit marker, a stacked cross-section showing every octave and their sum, and the structure-function plot whose slope equals 2H. Same noise, controls and numerical checks as the 3D version.

Game Development2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Fractal Value-Noise Terrain: Hill-Shaded Height Map, Octave Profile and Roughness Slope (2D) ↗ Open standalone

Build a game terrain the way procedural generators do: add layers (octaves) of smooth lattice noise, each finer and weaker than the last, and watch a 64 x 64 heightfield grow from a single blob into rugged mountains. Persistence sets how fast the detail fades, lacunarity how much finer each layer is, and together they fix the Hurst roughness exponent H = -ln(persistence)/ln(lacunarity) and the fractal dimension 3 - H. Switch between plain, ridged and billow shaping, change the seed, and compare the measured structure-function slope with the theory. A Blender-built pedestal and survey pegs, with independent numerical checks.

⚙ Under the hood

A flat view of the same fractal terrain: a hill-shaded height map with water level and a summit marker, a stacked cross-section showing every octave and their sum, and the structure-function plot whose slope equals 2H. Same noise, controls and numerical checks as the 3D version.

Procedural TerrainFractal NoiseValue NoiseOctavesPersistenceLacunarityHurst ExponentHeightfieldGame Development

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)