Math With Dice – Part 2: Probability of Rolling Each Number

As a follow-up to my last post about dice, today we’re going to be looking at some more interesting properties of rolling several dice. Yesterday I calculated the probability of rolling a 6 on several dice at a time, but now I’m going to explain what happens when we find the outcome of multiple dice, all … Read moreMath With Dice – Part 2: Probability of Rolling Each Number

JavaScript “Dust” With Distance-Based Probabilities

I recently wrote a program in JavaScript that generates “dust” by picking a random pixel on the screen, then deciding randomly whether to shade it in or not. The farther away the pixel is from a certain point (in this case, (700, 350)), the lower the chance it will be shaded in. To determine the … Read moreJavaScript “Dust” With Distance-Based Probabilities