3-D Monte Carlo Pi Calculation in WebGL by Eve
pi:
, spherePoints:
, cubePoints:
pi = 6 * spherePoints / cubePoints