Spieldesign - Random geo-strategic map

Aus Notebook
Zur Navigation springen Zur Suche springen

Generation of a random geo-strategic map with a given amount of areas and average connectivity approaching six for large amount of areas (randomised hex placement).

Steps:

  1. Generate uniform random points on the sphere
  2. Run Lloyd's algorithm on it about 30-50 times with the right metric (see: great circle distance, area of triangles and polygons on a sphere, getting the centroid of a polygon on a sphere).