I\'m working on a game where I create a random map of provinces (a la Risk or Diplomacy). To create that map, I\'m first generating a series of semi-random points, then fig
The Voronoi diagram is just the dual graph of the Delaunay triangulation.
Note that the exact code depends on the internal representation you're using for the two diagrams.