This is a 30-bit 60Hz subframe implementation of George Marsaglia's XorShift32 random number generator. There also is a 29-bit version with normalized numbers (starting from 0 with the 30-bit set always).
prng
subframe
random
Comments
-
very nice! +1!
-
@Jerehmia could you help me? I'm sorry for being of topic, but do you remember this? id:2864222
-
@TPTSortaGuy Yes, it's a seeded random number generator and starting it with the same seed will produce the same sequence of numbers every time, that's how it's supposed to work. This means you have repeatable sequences of random numbers so if you use them to trigger events in a game for instance, the same seed will produce the same sequence of events every time and different seeds will produce different sequences of events.
-
also, is it SUPPOSED to be the same every reload?
-
thanks
-
OK it helped a lot.
-
While building the 1D versions I discovered I was still using the old shift constants somehow. I set the correct constants A(11, 3, 13) and reseeded all generators (with value 1). *If you're using one of these in your builds it's time to update*
-
@TPTSortaGuy I reset the plotter myself, does it work now? This is an old save I updated with the 1D versions so it won't appear on FP.
-
Also, how is this not on FP!?!
-
Jerehima, feel free to put that in the description.