Jerehmia
Jerehmia
19 / 1
17th Feb 2022
30th May 2023
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

  • micque
    micque
    28th Sep 2023
    very nice! +1!
  • R4WLYX
    R4WLYX
    6th Jul 2023
    @Jerehmia could you help me? I'm sorry for being of topic, but do you remember this? id:2864222
  • Jerehmia
    Jerehmia
    1st Jun 2023
    @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.
  • TPTSortaGuy
    TPTSortaGuy
    1st Jun 2023
    also, is it SUPPOSED to be the same every reload?
  • TPTSortaGuy
    TPTSortaGuy
    1st Jun 2023
    thanks
  • TPTSortaGuy
    TPTSortaGuy
    1st Jun 2023
    OK it helped a lot.
  • Jerehmia
    Jerehmia
    30th May 2023
    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*
  • Jerehmia
    Jerehmia
    30th May 2023
    @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.
  • TPTSortaGuy
    TPTSortaGuy
    30th May 2023
    Also, how is this not on FP!?!
  • TPTSortaGuy
    TPTSortaGuy
    30th May 2023
    Jerehima, feel free to put that in the description.