This is a "pseudorandom" number generator with a couple of algorithms I had fun geeking out over :) The graph displays the numbers (The higher, the bigger) so you can see the actual patterns that appear in these generators. Tap space after the graph has been rendered to get more data on the graph. (What the scale of the graph has been divided by, your seed, which algorithm you chose, the numbers outputted) The first algorithm is the Lehmer algorithm. It can be modeled as: X(i) = a * X(i-1) mod m "X" being your seed, "i" being a counter (counts digits up as the algorithm progresses), and "a" and "m" are both constants that you can set to whatever you want (But no negatives please :D). "Mod" is just "mod" in the scratch editor, or, mathematically, it just takes the remainder of whatever is divided by it. Try seed 13274123749 :D The second algorithm is the Linear Congruential algorithm. It can be modeled as so: X(i) = (a * X(i-1) + c) mod m "X" being your seed, "i" being a counter, and "a", "c", and "m" are all constants this time around! This one is the traditional version of the first algorithm, which pretty much just removed "c". The last algorithm is the Lagged Fibonacci algorithm (This one is probably my favorite). The formula can be written as: X(i) = X(i-7) + X(i-10) mod m With "X" and "i" having the same standings as before. I believe you can switch out "7" and "10" to create new numbers, but this is what I got from the website in Notes and Credits. This one combines two past digits (entries, numbers, whatever) in the original formula and modulates them by a LARGE prime number ("m"). This one is super fun :) - try seed 12347823! In case anyone out there is wondering, yes, I am working on getting back to being more active. This is just a quick test for another totally original game I'm working on :D OR IS IT ANOTHER REMAKE?!?!?!??!??!?
I used an article I found on Microsoft Learn for the formulas. (I would post the link but that would violate scratch's ToS) The code, however, is all mine. Free to use with credit. The sprite itself is backpackable and there are versions of each equation in the project that are also backpackable. Heeeeeeeeeeeeeere come the :D