fractal terrain generator in Nim
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
LICENSE
README.md
islands.png

README.md

Nile generates height maps and images for imaginary islands. It includes:

  • Efficient high-quality resampling of floating-point images. (filter.nim)
  • Efficient computation of signed distance fields. (distance.nim)
  • Tweakable generation of gradient noise. (noise.nim)

To try it out, do:

nim c --run tests/islands.nim

Alternatively, simply invoke islands.nim directly from your shell since it has a shebang. This will enable the release flag, creating a very fast native executable.