noisegeneration

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simplex32LayerNoise2D

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

https://dbriemann.github.io/blog/7-making-a-game-with-go-and-pixel-2-procedural-content-generation-pcg.html https://github.com/ojrac/opensimplex-go

func NewSimplex32LayerNoise2D

func NewSimplex32LayerNoise2D(seed int64, layers int, persistence, freq, low, high float32) *Simplex32LayerNoise2D

func (*Simplex32LayerNoise2D) LayerNoise

func (s *Simplex32LayerNoise2D) LayerNoise(x, y float32) (result float32)

Jump to

Keyboard shortcuts

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