Estimating π
Scatter points in a square and count how many land inside the circle.
Explore Monte Carlo methods through interactive visualizations
Each app opens on its own. You’ll find every one of them, with the explanation around it, in the chapter it belongs to – and the Share button on any app gives a link or an <iframe> snippet for embedding it elsewhere.