3 unstable releases
0.2.0 | May 14, 2022 |
---|---|
0.1.1 | Apr 19, 2022 |
0.1.0 | Mar 25, 2022 |
#1394 in Game dev
245KB
8K
SLoC
This is an implementation of Squares RNG that is primarily for game development. The focus is on random floating point numbers, signed integers, and additional utilities. This crate does not include key generation, but provides 8192 keys to choose from. You may also use your own key if you have one.
Original paper published by Bernard Widynski on November 23rd, 2020 https://arxiv.org/pdf/2004.06278v3.pdf
lib.rs
:
This is an implementation of Squares RNG that is primarily for game development. The focus is on random floating point numbers, signed integers, and additional utilities. This crate does not include key generation, but provides 8192 keys to choose from in a different file. You may also use your own key if you have one.
The creators of Squares RNG have a website for the algorithm now! <>>https://squaresrng.wixsite.com/rand>
The algorithm is explained in this paper https://arxiv.org/pdf/2004.06278v3.pdf