Documentation
¶
Overview ¶
Package noise creates Perlin and Simplex noise.
Package noise creates Perlin and Simplex noise.
Package noise creates Perlin and Simplex noise.
Index ¶
- func CurlNoise1(x, y float64, f func(float64, float64) float64) float64
- func CurlNoise2(x, y float64, f func(float64, float64) float64) float64
- func CurlNoise3(x, y, z float64, f func(float64, float64, float64) float64) float64
- func CurlNoise4(x, y, z, w float64, f func(float64, float64, float64, float64) float64) float64
- func Perlin(x, y, z float64) float64
- func Perlin1(x float64) float64
- func Perlin2(x, y float64) float64
- func PerlinOct(x, y, z float64, octaves int, persistence float64) float64
- func Simplex1(x float64) float64
- func Simplex2(x, y float64) float64
- func Simplex3(x, y, z float64) float64
- func Simplex4(x, y, z, w float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurlNoise1 ¶ added in v0.7.4
CurlNoise1 finds the curl noise angle of a 1d noise function at a apoint.
func CurlNoise2 ¶ added in v0.7.4
CurlNoise2 finds the curl noise angle of a 2d noise function at a apoint.
func CurlNoise3 ¶ added in v0.7.4
CurlNoise3 finds the curl noise angle of a 3d noise function at a apoint. Note: this returns the 2d angle only based on x, y, but uses the z value to find the contour.
func CurlNoise4 ¶ added in v0.7.4
CurlNoise4 finds the curl noise angle of a 4d noise function at a apoint. Note: this returns the 2d angle only based on x, y, but uses the z and w values to find the contour.
Types ¶
This section is empty.