Open tae1han opened 5 months ago
Math.randomize(); Math.randomf() => float val; <<<val>>>;
Using Math.randomize() does not seem to reset the random seed, and actually seems to explicitly seed the RNG. Above code gives the same value for Math.randomf() when run successively.
Was able to reproduce this behavior in the IDE. A bit low priority but worth taking a look at the randomizer for web again @gewang.
Using Math.randomize() does not seem to reset the random seed, and actually seems to explicitly seed the RNG. Above code gives the same value for Math.randomf() when run successively.