class PerlinNoise

Defined in:

perlin_noise/perlin_noise.cr
perlin_noise/version.cr

Constant Summary

VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(seed : Int32 = 1) #

[View source]

Instance Method Detail

def int(x : Int, y : Int, z : Int, min : Int, max : Int, a_seed : Float32 = 1.0_f32) : Int #

[View source]
def int(x : Int, min : Int, max : Int, a_seed : Float32 = 1.0_f32) : Int #

[View source]
def int(x : Int, y : Int, min : Int, max : Int, a_seed : Float32 = 1.0_f32) : Int #

[View source]
def item(x : Int, y : Int, z : Int, array : Indexable(T), a_seed : Float32 = 1.0_f32) : T forall T #

[View source]
def item(x : Int, array : Indexable(T), a_seed : Float32 = 1.0_f32) : T forall T #

[View source]
def item(x : Int, y : Int, array : Indexable(T), a_seed : Float32 = 1.0_f32) : T forall T #

[View source]
def noise(x : Int, y : Int, z : Int, a_seed : Float32 = 1.0_f32) : Float32 #

[View source]
def noise(x : Int, a_seed : Float32 = 1.0_f32) : Float32 #

[View source]
def noise(x : Int, y : Int, a_seed : Float32 = 1.0_f32) : Float32 #

[View source]
def normalize_noise(x, y, z, a_seed = 1.0_f32) #

[View source]
def octave : Float32 #

[View source]
def octave=(octave : Float32) #

[View source]
def persistance : Float32 #

[View source]
def persistance=(persistance : Float32) #

[View source]
def prng_int(x : Int, y : Int, z : Int, min : Int, max : Int, a_seed : Float32 = 1.0_f32) : Int #

[View source]
def prng_int(x : Int, min : Int, max : Int, a_seed : Float32 = 1.0_f32) : Int #

[View source]
def prng_int(x : Int, y : Int, min : Int, max : Int, a_seed : Float32 = 1.0_f32) : Int #

[View source]
def prng_item(x : Int, y : Int, z : Int, array : Indexable(T), a_seed : Float32 = 1.0_f32) : T forall T #

[View source]
def prng_item(x : Int, array : Indexable(T), a_seed : Float32 = 1.0_f32) : T forall T #

[View source]
def prng_item(x : Int, y : Int, array : Indexable(T), a_seed : Float32 = 1.0_f32) : T forall T #

[View source]
def seed : Int32 #

[View source]
def step : Float32 #

[View source]
def step=(step : Float32) #

[View source]
def x_offset : Float32 #

[View source]
def x_offset=(x_offset : Float32) #

[View source]
def y_offset : Float32 #

[View source]
def y_offset=(y_offset : Float32) #

[View source]
def z_offset : Float32 #

[View source]
def z_offset=(z_offset : Float32) #

[View source]