An open API service indexing awesome lists of open source software.

https://github.com/aquilax/go-perlin

Perlin noise generator in Go
https://github.com/aquilax/go-perlin

go perlin perlin-noise

Last synced: 12 months ago
JSON representation

Perlin noise generator in Go

Awesome Lists containing this project

README

          

# GO Perlin Noise generator [![Go Reference](https://pkg.go.dev/badge/github.com/aquilax/go-perlin.svg)](https://pkg.go.dev/github.com/aquilax/go-perlin)

Adapted for go from [GEGL](http://git.gnome.org/browse/gegl/tree/operations/common/perlin)

Example: `perlin.Noise1D`

alpha = 2
beta = 2
n = 3

![PerlinNoise1D](http://i.imgur.com/Kplg5.png)

Using `perlin.Noise2D` with termbox to generate terrain in terminal:

![PerlinNoise2D](http://i.imgur.com/vPi3n.png)