🎲 Dice & Probability (2D)
2D Canvas dice-sum probability lab: roll n dice with s sides, compare the exact convolution PMF against a live empirical histogram and Gaussian overlay, and watch casino bet expected values update in real time.
This 2D companion drives the same exact-convolution dice-sum maths as the 3D version through a plain Canvas view built for reading the statistics rather than watching a WebGL scene: a side panel sets the number of dice, sides per die, and auto-roll speed, while the canvas stack shows the currently rolled faces above a live histogram comparing the empirical distribution against the exact theoretical PMF and an optional Gaussian overlay, with a casino-odds table for two six-sided dice updating alongside the live mean, variance and mode readouts.
2D dice-sum probability lab: exact n-fold convolution PMF, live empirical histogram, Gaussian overlay and casino bet expected values, all on Canvas 2D.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install