Tag: random

  • How to generate Gaussian distributed numbers

    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…

  • Understanding the Gaussian distribution

    Understanding the Gaussian distribution

    Randomness is so present in our reality that we are used to taking it for granted. Most of the phenomena which surround us have been generated by random processes. Hence, our brain is very good at recognising these random patterns. And it is even better at spotting phenomena that should be random but they actually aren’t. And this…