/noise

Generate and combine commonly used procedural noises and distributions, in pure Swift

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

noise

Platforms Release tag Build Issues Language License KK25

Noise is a free, pure Swift procedural noise generation library. It is free of Foundation or any other Apple framework, and has no dependencies. All popular types of procedural noise are supported, including three gradient noises (often called Perlin or simplex noises), and two cellular noises (sometimes called Worley or Voronoi noises). Noise includes a fractal brownian motion (FBM) noise composition framework, and a disk point sampler (often called a Poisson sampler), for generating visually even point distributions in the plane. Noise also includes pseudo-random number generation and hashing tools.

Noise’s entire public API is documented.

Building

Build Noise with the Swift Package Manager. Noise itself has no dependencies, but the tests depend on PNG, my free Swift PNG library, to view the generated noise.