struct OpenSimplexNoise

Defined in:

constants.cr
2d.cr
3d.cr
4d.cr
open-simplex-noise.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(seed : Int64 = 0_i64) #

[View source]

Instance Method Detail

def generate(x : Float64, y : Float64, z : Float64, w : Float64) : Float64 #

Generate 4D OpenSimplex noise from X,Y,Z,W coordinates.


[View source]
def generate(x : Float64, y : Float64, z : Float64) : Float64 #

Generate 3D OpenSimplex noise from X,Y,Z coordinates.


[View source]
def generate(x : Float64, y : Float64) : Float64 #

Generate 2D OpenSimplex noise from X,Y coordinates.


[View source]