Math for Game Developers - Making Randomness (Pseudorandom Number Generators) @JorgeVinoRodriguez
Math for Game Developers - Making Randomness (Pseudorandom Number Generators)  @JorgeVinoRodriguez
Uploaded November 2014 | Updated November 2026, 2 hours ago
How random number generators work and how to get good numbers out of them.

Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/probability-random

New video every Thursday. Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS

EXERCISES:

1. Modify the function to pass the current time into the random number seed and verify that a new sequence is always produced.

2. Create a pseudorandom number generator that generates only 1's and 0's, false and true values.

3. How would the difference in probabilities be between outputs if there were only 2^8 input values and 100 output values? What about if there were 2^8 input values and 128 output values?

4. Tricky: How would you design a pseudorandom number generator over arbitrary output ranges where all of the output values are exactly equally likely?
Math for Game Developers - Making Randomness (Pseudorandom Number Generators)Math for Game Developers - Model Transform Matrix#ROCKTOBER DAY 6Code for Game Developers - The Memory HierarchyCode for Game Developers - Anatomy of a Memory AllocationProgramming and Math - Stream Feb 14 2016Debugger Programming 1: Checkpoints While RunningMath for Game Developers - Indexed Triangle MeshesFinal Fantasy 7 Original Vs Remake Part 12: May I Have This SquatMath for Game Developers - Axis-Angle RotationHow To Get A Job In Game Design - Part 1 - What Is A Game Designer?Understanding Quaternions through Geometric Algebra
Jorge Rodriguez |

Math for Game Developers - Making Randomness (Pseudorandom Number Generators)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER