dots: 0 dots in circle: 0 dots outside circle: 0 dots in/dots out: 0

As the total number of dots approaches infinity, the ratio of dots inside the circle to dots outside the circle approximates Pi. (If we disregard the bias introduced by browser funny business.) Find out why here.