Skip to content

cjslep/noise

Repository files navigation

Noise library

Installation

go get github.com/cjslep/noise

About

A small and simple library for generating noise. This library provides Perlin and simplex two dimensional noise generators. It also provides a form of Perlin noise with Catmull-Rom spline interpolation, although it displays visual artifacts in the form of faint gridlines.

The library also provides functionality for noise composed of octaves using a persistence value. The octaves have constant gain and lacunarity.

The following images are generated when running go test:

Perlin Noise: Perlin Noise

Simplex Noise: Simplex Noise

Perlin Noise with Catmull-Rom Spline Interpolation: Perlin Noise with Catmull-Rom Spline Interpolation

Perlin Pink Octave Noise: Perlin Pink Octave Noise

Simplex Pink Octave Noise: Simplex Pink Octave Noise

Perlin Pink Octave Noise with Catmull-Rom Spline Interpolation: Perlin Pink Octave Noise with Catmull-Rom Spline Interpolation

How To Use

All noise generators implement the Noiser interface. Please see the documentation for details.

License

GPLv3

About

Noise generation library in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages