random()
Generate a random number between two values based on a uniform probability distribution
Example

circle(random(0, width), random(0, height), 25)
Syntax
Pick a random number between two values
random([min], [max])
Input
Description
min
the minimum number of the range
max
the maximum number of the range
Pick a random value from a list
random(choices)
Input
Description
choices
a list of values to pick from

Description
This function returns a random decimal (float/double) value out of a continuous range of numbers, between a minimum and maximum, or returns a random value out of a discrete list of any data types.
Last updated