module Noise::Fast2D
Overview
Noise generator faster than Noise
but specialized into
filling 2D UInt8 bitmaps.
Extended Modules
Defined in:
fast.crInstance Method Summary
- #concurrent(width : UInt32, height : UInt32, resolution : UInt32, data : Bytes, x_offset : Int32 = 0, y_offset : Int32 = 0, workers : UInt8 = 0)
- #gradients(x : Int32, y : Int32) : Indexable(Float64)
- #interpolate(a0 : Float64, a1 : Float64, w : Float64)
- #noise(width : UInt32, height : UInt32, resolution : UInt32, data : Bytes, x_offset : Int32 = 0, y_offset : Int32 = 0)
Instance Method Detail
def concurrent(width : UInt32, height : UInt32, resolution : UInt32, data : Bytes, x_offset : Int32 = 0, y_offset : Int32 = 0, workers : UInt8 = 0)
#
def noise(width : UInt32, height : UInt32, resolution : UInt32, data : Bytes, x_offset : Int32 = 0, y_offset : Int32 = 0)
#