title: Procedural Generation: dividing a map into multiple areas
body: <p>I am creating a world generator (like in Minecraft). I am using Perlin noise to generate the elevation map. But I want to divide my map into areas (or biomes).</p>
  
  <p>I can divide the map into equal polygons, but I am looking for a more random way.</p>
  
  <p>My map is pixelated (composed of blocks). Every pixel has x and y coordinates.</p>
  
  <p>Example:
  <a href="https://i.stack.imgur.com/zjJc8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zjJc8.jpg" alt="Example map"></a></p>