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

Re : Suitable range of input values for randomSeed()?

$
0
0
http://processing.org/reference/randomSeed_.html

Processing's own version for randomSeed() uses an int data-type as its argument.
But I bet it internally calls the original Math.randomSeed() under the hood.

Anyways, if the original uses 48 bits and the wrapped 1 uses 32 bits, 16 bits are lost. 
But I guess 4 billion different values are enough for seed variation? 



Viewing all articles
Browse latest Browse all 1768

Trending Articles