noise

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Noise

type Noise struct {
	// contains filtered or unexported fields
}

func New

func New(maxValue uint64) Noise

func (*Noise) Get

func (noise *Noise) Get(query_x, query_y float64) float64

func (*Noise) GetOctaved

func (noise *Noise) GetOctaved(query_x, query_y float64, octaves int, persistence float64) float64

Jump to

Keyboard shortcuts

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