There is a blue circle that is inside of a red square of the same diameter. If you add dots at random points in the setup, the number of dots in the circle and total number of dots can compute pi. 4(Dots in circle/Dots in total)~pi