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)
Click to show internal directories.
Click to hide internal directories.