Skip to content

r2d2m/FantasyMapGenerator

 
 

Repository files navigation

FantasyMapGenerator

Generator your own Fantasy Map!

How to generate

A step by step series of examples that tell you have to get a development env running

###Random Points (Based on 256 points) alt tag

###Converted to Voronoi Points (Based on 256 points) alt tag

###Generated into a mesh (Based on 4096 points) alt tag

###Giving the mesh a slope (Based on 4096 points) alt tag

###Setting the coast based off of heights (Based on 4096 points) alt tag

###Giving it some erosion (Based on 4096 points) alt tag

###Showing rivers, mountains and coast (Based on 4096 points) alt tag

###Showing cities with red region borders (Based on 4096 points) alt tag

###Showing colored regions with cities as dots. (Based on 4096 points) alt tag

###Showing fantasy map final result! (Based on 16384 points) alt tag

Running the tests

No tests would be a nice feature.

Performance Optimization.

Currently this is a (nearly)straight conversion of d3 and http://mewo2.com/ map generator, adding priority queues and splitting tasks for multi threading would speed this up a bit.

Built With

Authors

  • **Jared Browne

License

The code is available under the [MIT license][license], so you can fork it, improve it, learn from it, build upon it.

Acknowledgments

  • mewo2 (Martin O'Leary)
  • mbostock (Mike Bostock)
  • Pete Klassen
  • Math.Net team for their public math library

About

Generator your own Fantasy Map!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%