Today the darts are thrown using your web browser's built-in random number maker. It's good, but it's really a very clever math formula. Soon this lab is plugging in a quantum random number generator: a small USB stick from Crypta Labs that measures tiny, unpredictable particles of light. When it's connected, every dart will land where a quantum measurement says, and the dot under the chart will turn from yellow to green.
The board is a square with a circle drawn inside it, touching all four edges. If darts land at truly random spots, the share that lands inside the circle works out to π ÷ 4. Count them, multiply by 4, and you have π. More darts, closer answer.
Named after the casino, it's the idea of solving a problem with lots of random guesses. Scientists use it for weather, finance, nuclear physics, chip design and AI, usually on big computer clusters.
The method only works if the darts are truly random. Ordinary computers fake randomness with a formula. This lab is connecting a real quantum random number generator, so each dart's landing spot comes from a quantum measurement instead of math. Until it's online, the page runs in demo mode and says so below the chart.
Even perfectly random darts wobble. With 10,000 darts you'll usually match π to about two decimal places. Getting each extra digit takes roughly 100 times more darts.