π
Buffon's Needle
Estimating through geometric probability
Drop some needles to estimate …
Crossing lineNot crossingClick on the canvas to drop a needle at that position
estimate convergence
Drop some needles to see the chart…
Needle length must not exceed line spacing.
10 px80 px
Length of each dropped needle
30 px200 px
Distance between parallel lines
10050 000
Simulation stops after this many needles
×5
1/50××200
5 Needles added per animation frame