Worlds from Noise

No one draws every mountain by hand. Games grow whole worlds from a little math. Here is the trick.

1

Pure Random Is a Mess

What if every point in the land got a totally random height? Press the button a few times. You get jagged static, like a broken TV, not a landscape. Real mountains are random and smooth.

Every bar is an independent random number. Spiky and unnatural.
The problem

Randomness alone has no memory. Each point ignores its neighbors, so nothing flows. Nature does not work that way. A mountain slope knows where it was a step ago.

2

Noise: Smooth Randomness

The fix is noise: pick random heights far apart, then smoothly blend between them. Drag the slider from rough to smooth and watch the static settle into rolling hills.

Slide toward smooth. This blended randomness is called noise.
Name to know

The most famous version is Perlin noise, invented by Ken Perlin in 1983 for the movie Tron. It won him an Academy Award. Almost every game world since uses some flavor of it.

3

Stack Layers for Detail

One layer of noise gives smooth hills, but real land has big shapes and tiny bumps. So we add layers: big slow noise for mountains, plus smaller faster noise for rocks and ridges. Add layers and watch detail appear.

Start with 1 layer: smooth but plain.
Word of the day

Each layer is called an "octave," like in music. Doubling the frequency each time is exactly how musical octaves work. Terrain and melodies are built the same way.

4

Paint It by Height

Last step: turn heights into a world. Color each point by how high it is. Below sea level is water; then sand, grass, rock, and snow on the peaks. Raise and lower the sea and watch islands and continents appear.

Water Sand Grass Rock Snow
A height map plus a handful of color rules. That is a world.
Fun fact

Minecraft, No Man's Sky, and countless games generate their worlds this exact way. No Man's Sky fits over 18 quintillion planets into a tiny download, because it stores the recipe, not the worlds.

World Builder!

You saw how random numbers, once smoothed and layered, become mountains, coastlines, and continents. This is procedural generation: the same idea behind the endless worlds in your favorite games. Now go grow your own.

0
Worlds Grown
0
Detail Layers
0
Time Exploring

Pure Random Is Too Rough

If every point gets a totally random height, you get spiky static, not a landscape. Nature is random but smooth.

Noise Is Smooth Randomness

Noise picks random heights, then blends between them. The result looks like rolling hills instead of a bar chart.

Layers Add Detail

Add small noise on top of big noise. Big waves become mountains; small waves become bumps and rocks. Layering is what makes it believable.

Height Becomes a World

Color each point by its height: low is water, higher is grass, then rock, then snow. A height map plus color rules is a world.

Ready to Create?

Put your new knowledge into practice!

Suggest a Correction