Create beautiful and pseudo-random terrain-like maps.
To use it as a library, you need to get it through:
go get github.com/hacdias/mapgen
Soon, more documentation will be added about the final executable.
Documentation about using it as a library can be found on godoc.
Usage of mapgen:
-t, --color transition Color Transition in map generation overrites color palette transition
-c, --colors filename string File name with the color palette (default "defaultPalette.txt")
-f, --filename string File name to output (default "img.png")
-h, --height int Height of image (default 100)
-l, --lacunarity float Lacunarity (default 2.5)
-o, --octaves int Number of octaves (default 5)
-p, --persistence float Persistence (default 0.5)
-x, --scale float Scale (default 20)
-s, --seed int Seed to generate the map (default random)
-w, --width int Width of image (default 100)
PRs accepted.
MIT © All Contributors