noise

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2025 License: AGPL-3.0 Imports: 1 Imported by: 2

Documentation

Overview

Package noise creates Perlin and Simplex noise.

Package noise creates Perlin and Simplex noise.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Perlin

func Perlin(x, y, z float64) float64

Perlin is 3d perlin noise

func Perlin1

func Perlin1(x float64) float64

Perlin1 is 1d perlin noise

func Perlin2

func Perlin2(x, y float64) float64

Perlin2 is 2d perlin noise

func PerlinOct

func PerlinOct(x, y, z float64, octaves int, persistence float64) float64

PerlinOct creates Perlin noise with given number of octaves. persistence does well at 0.5 to start with.

func Simplex1

func Simplex1(x float64) float64

Simplex1 ...

func Simplex2

func Simplex2(x, y float64) float64

Simplex2 ...

func Simplex3

func Simplex3(x, y, z float64) float64

Simplex3 ...

func Simplex4 added in v0.7.2

func Simplex4(x, y, z, w float64) float64

Simplex4 ...

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL