noise icon indicating copy to clipboard operation
noise copied to clipboard

Noise generation library for Java, based on the libnoise C++ library. It is used to generate coherent noise, a type of smoothly-changing noise. It can also generate Perlin noise, ridged multifractal n...

Noise

GitHub Workflow Status (branch) MIT License Maven Central Sonatype Nexus (Snapshots)

Noise generation library for Java, based on the libnoise C++ library by Jason Bevins. It is used to generate coherent noise, a type of smoothly-changing noise. It can also generate Perlin noise, ridged multifractal noise, and other types of coherent noise.

Prerequisites

  • Java 8

Building from Source

In order to build math you simply need to run the ./gradlew build command. You can find the compiled JAR file in ./build/libs labeled similarly to 'noise-x.x.x-SNAPSHOT.jar'.

Contributing

Are you a talented programmer looking to contribute some code? We'd love the help!

  • Open a pull request with your changes, following our guidelines.

Usage

Noise publishes releases on Maven Central and Sponge's own repository. Snapshots are published on Sonatype OSSRH and Sponge's repository.

If you're using Gradle to manage project dependencies, simply include the following in your build.gradle file:

repositories {
  // releases
  mavenCentral()
  // snapshots
  maven {
    url "https://repo.spongepowered.org/repository/maven-public/"
  }
}

dependencies {
  implementation "org.spongepowered:noise:2.0.0-SNAPSHOT"
}

If you're using Maven to manage project dependencies, simply include the following in your pom.xml file:

<dependency>
  <groupId>org.spongepowered</groupId>
  <artifactId>noise</artifactId>
  <version>2.0.0-SNAPSHOT</version>
</dependency>

Credits

  • Jason Bevins and contributors of the original libnoise C++ library.
  • Spout and contributors - where we all began, and for much of the re-licensed code.
  • All the people behind Java, Maven, and Gradle.