Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.
/ mapgen Public archive

Pseudo-random map generator through OpenSimplex noise algorithm

License

Notifications You must be signed in to change notification settings

hacdias/mapgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map Generator

Create beautiful and pseudo-random terrain-like maps.

a sample mat bit

Build Go Report Card Documentation

Install

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.

Usage

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)

Contributing

PRs accepted.

License

MIT © All Contributors

About

Pseudo-random map generator through OpenSimplex noise algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages