Random Number Generation (An Overview)

Random Number Generation (An Overview)

Channel:
Subscribers:
19,000
Published on ● Video Link: https://www.youtube.com/watch?v=VIiIy2WQlyQ



Duration: 8:01
2,799 views
189


In this video, I explain how random number generation works. I start off by explaining how randomness can either come from the real world or be generated using math, and then give an overview of the mathematical algorithms that can be used to do it. Although this was a video I’m pretty happy with, I wish I could’ve made more visually appealing graphics (because most of them were only numbers) and had a more consistent-sounding voiceover (because I was sick for part of the editing process). There wasn’t much I could do though (._. )


TABLE OF CONTENTS:
• (0:00) Intro
• (0:50) Categories of Random Number Generators
• (2:19) Creating a Simple PRNG
• (3:48) Properties of a Good PRNG
• (5:51) Creating a Proper PRNG


CORRECTIONS:
• (7:21) Clarification: This is still a PRNG, I just said "RNG" because I meant for the "pseudo" to be implied.


SOURCES:
• (1) Basic RNG info
http://www.columbia.edu/~ks20/4106-18-Fall/Simulation-LCG.pdf
• (2) More RNG info
https://courses.physics.illinois.edu/phys466/sp2013/lnotes/random_numbers.html
• (3) Even more RNG Info
https://www.howtogeek.com/183051/htg-explains-how-computers-generate-random-numbers/
• (4) Wikipedia article
https://en.wikipedia.org/wiki/Random_number_generation
• (5) LearnC++'s RNG lesson
https://www.learncpp.com/cpp-tutorial/random-number-generation/
• (6) Tom Scott's video
https://youtu.be/1cUUfMeOijg
• (7) List of Random Number Generators
https://en.wikipedia.org/wiki/List_of_random_number_generators4cbfa695-8869-4788-8d90-021ea9f5be73
• (8) Mersenne Twister description
https://en.wikipedia.org/wiki/Mersenne_Twister
• (9) Essential properties of a RNG
http://www.new-npac.org/projects/cdroms/cewes-1999-06-vol1/cps615course/csematerials/applications/mc/montecarlo/node100.html
• (10) How Computers Generate Random Numbers
https://www.freecodecamp.org/news/random-number-generator/
• (11) Excel's RAND Function
https://support.microsoft.com/en-us/office/rand-function-
• (12) C++ std::minstd_rand
http://www.cplusplus.com/reference/random/minstd_rand/


MUSIC:
• (0:00 - 2:16) Minecraft OST - Wending
• (2:20 - 3:46) Sonic Mania OST - Hydrocity Zone Act 2
• (3:48 - 7:26) Terraria Calamity OST - Infestation
• (Outro) DM Dokuro - raincloud’s slumber


SOFTWARE:
• Audio Recording: Audacity
https://www.audacityteam.org/
• Screen Recording: OBS
https://obsproject.com/
• Image Editing: GIMP
https://www.gimp.org/
• Video Editing: HitFilm Express
https://fxhome.com/express







Tags:
macro
pixel
macropixel
rng
prng
trng
random
number
generation
math
coding
programming
simple
overview
an overview