Tutorials · The procedural path
Learn to Build Worlds, One Algorithm at a Time
Hands-on procedural generation for game developers. Every tutorial comes with live labs you can play with right here in your browser, plus code you can drop into your own project.
Each tutorial you finish is worth +100 XP toward your reader rank.
The Skill Tree
Each tutorial builds on the ideas before it. Follow the path from the top, or jump straight to the technique you need.
Your Quests
Pick one and start building. Labs run in the page, so you can see every step change the result.
Poisson Disk Sampling in Game Development — Natural Forests, Loot Scatter & Biome-Aware Placement
Scatter trees, rocks and loot that never clump. Build Poisson disk sampling from dart throwing to Bridson's algorithm, add variable density and biome rules, then paint a whole island world. Eight live labs, with code in JavaScript, C#, C++ and pseudocode.
From Height Maps to Living Worlds — Simplex Noise, Domain Warping & Biome Generation
Turn a height map into a living world. Build Simplex noise from scratch, bend it with domain warping, pick biomes from temperature and moisture, group them into blended Voronoi regions, then chain it all into a density stack. Six live labs plus JavaScript, C# and C++ code that gives the same world for the same seed.
Cellular Automata in Game Development — Cave Generation, Living Worlds & Falling Sand
Turn random noise into connected, playable caves with cellular automata. Build Conway's Game of Life, the classic 4-5 cave rule, flood-fill cleanup and tunnels, then play in a falling-sand sandbox. Live labs plus JavaScript, C# and C++ code.
Voronoi Diagrams in Game Development — Procedural Maps, AI Territories & Stylish Effects
Learn how Voronoi diagrams split space into organic regions, then use them for biome maps, AI faction territories, and weighted influence zones, with live labs and code.
Introduction to Procedural Generation with Perlin Noise for Game Development
Learn Perlin noise from the ground up: seeded randomness, fractal noise with octaves, and a terrain height map you can tweak in a live demo. Code in JavaScript, C#, C++, and pseudocode.
The list
Get the Next Tutorial First
Leave your email and we'll let you know when a new tutorial and its labs go live.
Requests
What Should We Break Down Next?
Wave function collapse, dungeon graphs, L-systems, pathfinding? Tell us the technique you want to learn and it goes on the list.
Request a tutorial →Level up elsewhere
Resources We Recommend
- BookThe Nature of Code
- VideoThe Nature of Code video series
- VideoThe Coding Train
- GuidesRed Blob Games (interactive explainers)
- BlogRefresher Towel Games: proc gen series





