/mapgen

Pixel topographic map generator

Primary LanguageGoGNU General Public License v3.0GPL-3.0

Pixel topographic map generator

The code was born during an improvised hackathon as a result of a friendly dispute about procedural generation and terrain maps. The application purpose is to generate pixel-art terrain maps of a given size using parameterized simplex noise for terrain altitudes and a predefined set of rules for terrain types and colors.

Work is still in progress.

Badges

Built with Ebitengine

Commit activity

Last Release

GPLv3 License

Screenshots

  • Main window with UI hints

App Screenshot

  • Maps exported to image file

App Screenshot App Screenshot

Tech Stack

Go with Ebitengine and zero third-party dependencies.

Build Locally

Make sure you have the Go installed

go version

Clone the repo

  git clone https://github.com/oleg-vasiliev/mapgen.git

Go to the project directory

  cd mapgen

Download and verify dependencies

  go mod download
  go mod verify

Compile and start the app

  go run ./cmd/mapgen

Or just build the binary

  go build -o=./bin/ ./cmd/mapgen

Usage and cli-arguments

TODO

Roadmap

  • Configuration seed should include all various noise settings.

  • Display in UI current terrain levels.

  • Implement different color themes.

  • Add visual indication for world exporting process.

  • Add to map randomly placed objects: trees, animals, buildings, etc.

  • Implement inertial viewport scrolling.

Feedback

If you have any feedback please contact me by email.

License

GNU GPLv3