Random Terrain Generator – Topographic Contour Maps | dice83 

Random Terrain

Procedural topographic contour maps of imaginary landscapes. Layered noise creates mountains, valleys, oceans, and forests. Unique on every generation.

OceanShoreForestHillsMountainSnow
or press Space
Statistics
0
Generated
Water
Land
Peak
Valley
Elevation distribution

Procedural Landscapes from Pure Mathematics

Every terrain on this page emerges from layered noise functions evaluated across a two-dimensional grid. The technique is called fractal Brownian motion (fBm): multiple layers ("octaves") of smooth random noise are stacked at increasing frequency and decreasing amplitude. The first octave creates broad continental shapes. Subsequent octaves add successively finer detail: mountain ridges, valley contours, erosion patterns. Six octaves of noise combine to produce a landscape that looks organic despite being entirely mathematical.

Ken Perlin and the Noise That Won an Oscar

In 1983, Ken Perlin developed gradient noise while working on the original Tron at Mathematical Applications Group, Inc. His noise function created natural-looking textures for computer graphics: marble, wood grain, clouds, and terrain. The contribution was so significant that the Academy of Motion Picture Arts and Sciences awarded Perlin a Technical Achievement Oscar in 1997. Every procedural terrain, cloud simulation, and organic texture in modern games and films descends from this foundational algorithm.

Reading the Contour Lines

The thin lines overlaid on the terrain are elevation contours: curves connecting all points at the same height. Where contour lines crowd together, the slope is steep (cliffs, mountain faces). Where they spread apart, the terrain is gentle (plains, plateaus). Major contour lines appear at wider elevation intervals and represent significant changes in altitude. Cartographers have drawn contour maps since the 18th century, and the technique remains essential for hiking maps, geological surveys, and civil engineering.

The Color Gradient

Colors encode elevation. Deep blue indicates ocean depths. Lighter blues mark shallow coastal waters. Sandy tans show beaches and shorelines. Greens represent lowland vegetation and forests. Browns indicate hills and mountainous terrain with exposed rock. White caps mark the highest peaks above the snow line. The transition from blue through green to brown to white mirrors real-world biome distribution driven by altitude.

In the Classroom

Generate three terrains and ask students to describe the geography they see: where would rivers flow? Where would a city naturally develop? Which coastlines would make good harbors? The exercise develops spatial reasoning and geographic intuition. For a mathematics connection, generate ten terrains and have students estimate the water-to-land ratio for each. The "Water" statistic confirms or challenges their estimates, reinforcing visual estimation skills and percentage concepts.

Private by Architecture

Every terrain generates entirely inside your browser. The noise function seeds from crypto.getRandomValues(), the canvas renders locally, and the downloadable PNG never leaves your device. The server delivers the page and the rendering algorithm. Your device creates the landscape.

Share Your Landscape

Send this link. They generate their own unique terrain from a different random seed.

Design excellence, every day.

Jury-selected work from the A' Design Award, presented fresh each morning.