Home▸Probability & Statistics▸Buffon's Needle: 2D

🪡 Buffon's Needle: 2D

Monte Carlo estimate of pi by dropping needles on a ruled floor.

Probability & Statistics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-buffon-needle ↗ Open standalone
⚙ Under the hood

Drop needles on parallel lines to estimate the value of pi through probability experiments.

BuffonpiMonte Carlo

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)