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.
link |
Stars: 3 |
Last commit: 16 weeks ago |
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.Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics