Calculating Pi

This is an attempt of calculating Pi with counting the number of squares that fit in a quadrant of a circle. The count is found using the Pyhagorean theorem.

Blocks in radius: 25

100M takes about a minute to calculate.


Plotting a cardioid and it's radii.

Coded by: unitilio.com