2D Monte Carlo π

Throw random points at a square. Any inscribed shape whose area involves π turns the hit ratio into an estimate of π.

Shape

Parameters
Estimate
Samples0
Hits0
π estimate—
|error|—
Convergence (log scale)