struct OpenSimplexNoise
- OpenSimplexNoise
- Struct
- Value
- Object
Defined in:
2d.cr3d.cr
4d.cr
constants.cr
open-simplex-noise.cr
Constructors
Instance Method Summary
-
#generate(x : Float64, y : Float64, z : Float64, w : Float64) : Float64
Generate 4D OpenSimplex noise from X,Y,Z,W coordinates.
-
#generate(x : Float64, y : Float64, z : Float64) : Float64
Generate 3D OpenSimplex noise from X,Y,Z coordinates.
-
#generate(x : Float64, y : Float64) : Float64
Generate 2D OpenSimplex noise from X,Y coordinates.
Constructor Detail
Instance Method Detail
def generate(x : Float64, y : Float64, z : Float64, w : Float64) : Float64
#
Generate 4D OpenSimplex noise from X,Y,Z,W coordinates.
def generate(x : Float64, y : Float64, z : Float64) : Float64
#
Generate 3D OpenSimplex noise from X,Y,Z coordinates.
def generate(x : Float64, y : Float64) : Float64
#
Generate 2D OpenSimplex noise from X,Y coordinates.