Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Suitable range of input values for randomSeed()?

$
0
0
I've looked through the forum and documentation, but haven't found the answer to this.

What kind of inputs does randomSeed take, and it what range? Are they integers? What are the min and max?

I want to randomly select a seed while drawing an randomized image, and record the seed so I can regenerate the same picture if I like the results. I just need to know what is a suitable way to select a random seed.



Viewing all articles
Browse latest Browse all 1768

Trending Articles