The Native Client module executed in this page creates a thread that
estimates pi (π) using the Monte Carlo method. The thread randomly puts
1,000,000,000 points inside a square that shares two sides with a quarter
circle (a quadrant). Because the area of the quadrant is r²π/4 and
the area of the square is r², dividing the number of points inside the
quadrant by the number of points inside the square gives us an estimate of
π/4. The textbox under the square shows the current estimate of π.