NatFloat

From Vintage Story Wiki
Revision as of 07:38, 26 March 2019 by Tyron (talk | contribs) (Created page with "A somewhat more natural random number generator. If you create 8000 random numbers between 0..200 and plot them, where the X-Axis is the resulting value and the Y-Axis the am...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A somewhat more natural random number generator.

If you create 8000 random numbers between 0..200 and plot them, where the X-Axis is the resulting value and the Y-Axis the amount of times this value was returned then you can see how the random number generator behaves. These are some simple plots for all distributions. Uniform is just your normal average random number generator.

 Distributions

Natfloat-uniform.png Natfloat-triangle.png Natfloat-gauss.png Natfloat-narrowgauss.png Natfloat-verynarrowgauss.png Natfloat-invgaus.png Natfloat-narrowinvgaus.png Natfloat-invexp.png Natfloat-stronginvexp.png Natfloat-stronverinvexp.png