Helps with generating random numbers.
Creates a pseudo-random value generator. The seed must be an integer.
Uses an optimized version of the Park-Miller PRNG. http://www.firstpr.com.au/dsp/rand31/
The seed for the random number generator.
Retrieve the seed of the PRNG.
The seed of the PRNG.
Returns a pseudo-random value between 1 and 2^32 - 2.
A pseudo-random value between 1 and 2^32 - 2.
Returns either true or false.
true
false
Either true or false.
Returns a pseudo-random floating point number in range [0, 1).
a pseudo-random floating point number in range [0, 1).
Creates a new Random instance, with a seed that is based of the seed of this Random instance.
A new random number generator.
Returns a random value in a given range.
The lower bound.
The upper bound.
A random value between the lower and upper bound.
Returns a 2D simplex noise value for a given input coordinate.
The X input coordinate.
The Y input coordinate.
The noise value for the input coordinates.
Returns a 3D simplex noise value for a given input coordinate.
The Z input coordinate.
Helps with generating random numbers.