Module system.utils.Random
Functions
float2 (x, y) | |
float3 (x, y, z) | |
limit (value, limit) | Reduces the specified random signed 32-bit integer to a smaller range of integers |
noise2 (x, y, limit) | 2D pseudo-random noise function |
noise3 (x, y, z, limit) | 3D pseudo-random noise function |
rng3Advance (r1, r2, r3) | Advances a random number generator's state |
rng3Get (r1, r2, r3, limit) | Returns a random number based on a generator's state |
threshold2 (x, y, threshold) | 2D pseudo-random thresholding function |
threshold3 (x, y, z, threshold) | 3D pseudo-random thresholding function |
Functions
- float2 (x, y)
-
Parameters:
- x
- y
- float3 (x, y, z)
-
Parameters:
- x
- y
- z
- limit (value, limit)
-
Reduces the specified random signed 32-bit integer to a smaller range of integers
Parameters:
- value
- limit
- noise2 (x, y, limit)
-
2D pseudo-random noise function
Parameters:
- x
- y
- limit
- noise3 (x, y, z, limit)
-
3D pseudo-random noise function
Parameters:
- x
- y
- z
- limit
- rng3Advance (r1, r2, r3)
-
Advances a random number generator's state
Parameters:
- r1
- r2
- r3
- rng3Get (r1, r2, r3, limit)
-
Returns a random number based on a generator's state
Parameters:
- r1
- r2
- r3
- limit
- threshold2 (x, y, threshold)
-
2D pseudo-random thresholding function
Parameters:
- x
- y
- threshold
- threshold3 (x, y, z, threshold)
-
3D pseudo-random thresholding function
Parameters:
- x
- y
- z
- threshold