noise

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT 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 is 1D simplex noise

func Simplex2

func Simplex2(x, y float64) float64

Simplex2 is 2D simplex noise

func Simplex3

func Simplex3(x, y, z float64) float64

Simplex3 is 3D simplex noise

Types

This section is empty.

Jump to

Keyboard shortcuts

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