/Monte-Carlo-Normal-Distribution-Demo

I want to show my younger brother how normal distribution works, so I threw together this program to "Roll dice", add the values from rolling, and then increment a sum in an array of all possible results from rolling the dice. The frame scales automatically, so the normal distribution just gets smoother and smoother. In the second program, the plot, I used this monte carlo method of finding a normal distribution to draw dots on the plot, so you can see which areas get dense

Primary LanguageProcessing

Watchers