Constructor

new ()

Variables

repeat:Int

Methods

adjustScale (size:Int, scale:Float):Float

gradient (seed:Int, x:Float, y:Float):Float

gradient3D (seed:Int, x:Float, y:Float, z:Float):Float

inline inlineGradient (seed:Int, x:Float, y:Float):Float

maxValue (octaves:Int, persist:Float):Float

perlin (seed:Int, x:Float, y:Float, octaves:Int, ?persist:Float, ?lacunarity:Float):Float

ridged (seed:Int, x:Float, y:Float, octaves:Int, ?offset:Float, ?gain:Float, ?persist:Float, ?lacunarity:Float):Float

inline select ():Void

thresholdValue (p:Float):Float

Converts a desired probability in the [0,1] range into the corresponding perlin value that we must test against for threshold.