Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sashman/terrain_generator


https://github.com/sashman/terrain_generator

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

A program to generate terrain and features with variable formats.

Usage: ./terrain_generator [options]
-h --help Display this usage information.
-c --config Use custom config file.
-v --verbose Print verbose messages.
--height Crop the map down to specified positive integer height.
--width Crop the map down to specified positive integer width.
--rough Define smoothness of the terrain as a float (0.0 < v < 1.0).
Lower values produce smoother terrain, smaller difference in adjacent tiles.
--seed Set the initial positive integer height for the algorithm to be generate values from.
--offset Set the initial offset positive integer height (seed+offset=max possible height).
--plate Set the fraction of the tectonic plates appearance.
Higher values will give a more 'ripped apart' look, values too close to 1 are not
recommended for realistic terrain. (0.0 < v < 1.0)
--erosion Number of erosion iterations over the terrain. Must be a positive integer.
-n --negative Allow for negative height values.

TODO:
- add noise to voronoi