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
- Host: GitHub
- URL: https://github.com/aquilax/go-perlin
- Owner: aquilax
- License: mit
- Created: 2011-08-12T04:21:54.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2021-07-25T04:23:48.000Z (almost 5 years ago)
- Last Synced: 2024-11-17T12:48:53.688Z (over 1 year ago)
- Topics: go, perlin, perlin-noise
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 83
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# GO Perlin Noise generator [](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

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