To view this content, you need to install Java from java.com

This example is designed to highlight the differences between random number generation methods. Click on the screen to change the method being visualized. What is being measured on screen is how often numbers in the range defined in RAND_SIZE have occurred with the current number generator. Generate a uniform random number using the Processing random number method. Generate a number scaled to a gaussian curve. We won't go into the math and algorithm used here, but you're welcome to explore what's happening here on your own.

Source code: week03_seeing_random

Built with Processing