Tag: marsaglia
-

Xorshift Generators
—
This article is a deep dive into xorshift generators, one of the most adopted families of algorithms for the generation of pseudorandom numbers. This is a companion article to a video documentary which will be released in the following weeks. If you want to learn more about xorshift generators, including tables of maximal triplets, you…
-

How to generate Gaussian distributed numbers
In a previous post I’ve introduced the Gaussian distribution and how it is commonly found in the vast majority of natural phenomenon. It can be used to dramatically improve some aspect of your game, such as procedural terrain generation, enemy health and attack power, etc. Despite being so ubiquitous, very few gaming frameworks offer functions to generate numbers which follow…
