Skip to content

Terrain generation library, meant to be used either standalone or within a game.

License

Notifications You must be signed in to change notification settings

fabio-t/terrain-generator

Repository files navigation

Terrain generator

Latest Github release

Minimal terrain generator based on OpenSimplexNoise. It supports island shapes, allows river creation and makes it simple to configure the octaved (or "fractal") noise generation for heightmaps, moisture and so on.

It ships with a complete example (just run the Main and inspect the images generated, then play around with parameters).

When and if it will become more complex, I'll write better documentation. Right now, you are going to play around with the parameters yourself.

Feel free to write an Issue if you have questions or need help.

Install

  1. First add Jitpack as a repository inside your pom.xml
<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>
  1. Then add terrain-generator as a dependency (make sure to change version to one of the releases):
<dependency>
    <groupId>com.github.fabio-t</groupId>
    <artifactId>terrain-generator</artifactId>
    <version>version</version>
</dependency>

About

Terrain generation library, meant to be used either standalone or within a game.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages