Map Generation – Cities and Towns

https://github.com/LAVS-TM/Map-Generation

A program that can generate cities and towns, medieval Voronoi style. Along with a viewer that can produce graphcis the base output is json, which gives you vector data to use with other things. Very nice!

Sample city

Here is an example of a possible configuration for the city to be generated:

city = City(10000, 10000, has_walls=True, has_castle=True)
tools.json(city, '/generated_city/city.json')

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: