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.