Files

20 lines
554 B
Markdown
Raw Permalink Normal View History

2014-02-25 16:58:01 -08:00
DS-Island-generator
===================
A procedural island generator based on the diamond-square mid point displacement and the particle deposition algorithms.
2014-02-25 20:38:05 -04:30
Compile with:
make
Execute as:
./ds N PREFIX
2014-02-26 16:55:49 -04:30
Where N is a positive integer greater than zero and PREFIX is a string to append to the output file names. The generated island
will be of size (2^n + 1)x(2^n + 1).
2014-02-25 20:38:05 -04:30
The diamond-square mid point displacement implementation is a port of the code outlined in [this post] [1] at Stack Overflow.
[1]: http://stackoverflow.com/a/2773032