Squirrel3
A Swift implementation of the Squirrel3 hash function and pseudo-random number generator as invented by Squirrel Eiserloh, described in detail at the 2017 GDC Math for Game Programmers talk Noise-Based RNG.
SeededRandomNumberGenerator
protocol, which formalizes the ability to see a random number generator (specifically with a UInt64 seed), and references a constant seed
property and a variable position
property for the generator.next
generated random value is deterministic.A Swift implementation of the Squirrel3 hash function and pseudo-random number generator as invented by Squirrel Eiserloh, described in detail at the 2017 GDC Math for Game Programmers talk Noise-Based RNG.