This code slowly generates the digits of pi. Hold down space to see the statistics and let go for the statistics to go away.
I used the Leibniz Formula.