Documentation ¶
Index ¶
- func GeneratePerlinNoise(baseNoise [][]float64, octaveCount int) [][]float64
- func GenerateSmoothNoise(baseNoise [][]float64, octave int) [][]float64
- func GenerateWhiteNoise(width, height int) [][]float64
- func Interpolate(x0, x1, alpha float64) float64
- func Perlin(cfg *pixelgl.WindowConfig, imd *imdraw.IMDraw, offset float64)
- func Perlin2DSpatial(cfg *pixelgl.WindowConfig, win *pixelgl.Window)
- func Perlin2DTemporal(cfg *pixelgl.WindowConfig, imd *imdraw.IMDraw, offset float64) []pixel.Vec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePerlinNoise ¶
func GenerateSmoothNoise ¶
func GenerateWhiteNoise ¶
func Interpolate ¶
func Perlin2DSpatial ¶
func Perlin2DSpatial(cfg *pixelgl.WindowConfig, win *pixelgl.Window)
func Perlin2DTemporal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.