Realistic terrain in 130 lines
▻http://www.playfuljs.com/realistic-terrain-in-130-lines
As programmers, we love to build things, and what could be more exciting than building a world? Minecraft, Terragen, Skyrim, and every flight simulator ever all use some sort of fractal terrain generation. Today we’ll explore the beautifully simple diamond-square algorithm so you, too can play God.