class Noise::Sum

Defined in:

noise.cr

Constructors

Instance Method Summary

Instance methods inherited from class Noise

*(other : Float64) : Noise
*(other : Noise) : Noise
*
, +(other : Float64) : Noise
+(other : Noise) : Noise
+ : Noise
+
, -(other : Float64) : Noise
-(other : Noise) : Noise
- : Noise
-
, /(other : Float64) : Noise
/(other : Noise) : Noise
/
, [](*coordinates : Float64) : Float64 [], gradients(coordinates : Indexable(Int32)) : Indexable(Float64) gradients, interpolate(a0 : Float64, a1 : Float64, w : Float64) interpolate, raw(*coordinates : Float64) raw

Constructor methods inherited from class Noise

new(periods : Indexable(UInt32 | Nil), frequencies = Slice(Float64 | ::Nil).empty, offsets = Slice(Float64 | ::Nil).empty, intensity_multiplier : Float64 = 1.0, intensity_gain : Float64 = 0.0)
new(frequencies = Slice(Float64 | ::Nil).empty, offsets = Slice(Float64 | ::Nil).empty, intensity_multiplier : Float64 = 1.0, intensity_gain : Float64 = 0.0, child : Noise | Nil = nil)
new

Constructor Detail

def self.new(noises) #

[View source]

Instance Method Detail

def +(other : Noise) #

[View source]
def periods=(periods : Slice(Float64 | Nil)) #

[View source]
def raw(*coordinates : Float64) : Float64 #
Description copied from class Noise

Generate noise value for the given coordinates and gradients


[View source]