This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Andrew Heiss
andrew.heiss.phd
did:plc:2zcfjzyocp6kapg6jc4eacok
This video is *bananas*—you can estimate π from a ton of random coin flips bc the expected prop of heads/total after 50%+ of the flips are heads = π/4
Here's an #rstats version I made of Matt's Python code in the video https://gist.github.com/andrewheiss/64eccec00472182d292238adc15e24e9
With 10 million random flips I got 3.131381
https://www.youtube.com/watch?v=kahGSss6SsU
2026-03-14T23:54:57.196Z