Contiguous wrapping terrain
I wanted randomly generated wrapping terrain. Perlin Noise! Done. But I want lakes, so I throw in a flood fill. Done! But I don’t want to deal with programming boats or whatever, so I want all of the land to be contiguous. I want people to be able to walk from any piece of land to any other piece of land, so there can be no islands. That was trickier, but, inspired by Photoshop’s “solarize” filter, I came up with an algorithm to generate contiguous wrapping terrain (99.99% of the time), with no islands and plenty of lakes:
Tags: peak