The terrain generator uses a simple fractal algorithm to generate terrain to help ignite our creavity when creating the geography of the world of Thalia. The color output can be customized through a user-specific configuration file, so the possibility exists for us to use it in the future for terrain bitmaps to be used directly in the Epic of Thalia engine.
Here are some maps that were generated using the program:
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
And here is a screenshot of the program itself:
This is kind of a makeshift manual that I'm writing at the last second, but it should explain the basics of operation for the map generator.
The Basics - After starting the program, you'll notice a set of inputs. This section explains each.
Advanced Usage - Currently, the map generator doesn't support a good deal of customization. I plan on changing this in the future, but the only thing you can customize right now is the coloration of the generated maps. In order to do so, you need to define a method getColor in the file ~/.eot-mapgenerator/config.py. getColor takes a single parameter (a double, ranging from -1 to 1, representing the altitude of the given map cell) and returns a 3 element tuple, in the form of (red, green, blue). Red, green, and blue must all be integers between 0 and 65535, inclusive. If you are not familiar with Python, try searching for a Python tutorial.
The source code for the terrain generator is in a Darcs repository, located at http://darcs.hoelzro.net/map-generator.
Back to Epic of Thalia Utilities