package
Version:
v0.0.0-...-93e07d4
Opens a new window with list of versions in this module.
Published: Jan 2, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func CalcScale(value float32) float32
-
func Fbm2(x, y, frequency, lacunarity, gain float32, octaves int) float32
-
func Turbulence(x, y, frequency, lacunarity, gain float32, octaves int) float32
-
type Noise
-
type Type
CalcScale calculates and returns the scale value using the give value.
`scale = value / (max-min)`
Fbm2 generates fractal brownian motion noise
Turbulence generates turbulence fractal noise
Noise is a slice of 2D simplex noise values
MakeNoise creates a slice 2D simplex Noise
Rescale scales the noise values by the given scale in place
Type indicates which noise MakeNoise will generate
Source Files
¶
Click to show internal directories.
Click to hide internal directories.