Processing Community Forum
Can random(5) output the number 5?
Processing
Beginners
GoToLoop
April 9, 2021, 8:29am
3
If you use
round()
or
ceil()
instead it can pick the passed argument.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Problem with random
Coding Questions
3
266
July 6, 2018
Random() limit : high values required
Beginners
9
738
February 24, 2021
Random() seems to be very biased towards positive numbers. how to mitigate?
Coding Questions
10
648
November 29, 2020
Como puedo mostrar en la consola números aleatorios definidos (-1,50,100,200) con Random
Español
1
717
June 13, 2021
Generate random colors from math3 distributions
Coding Questions
3
348
May 21, 2020