This uses a simple but not very efficient way of calculating pi from the youtuber 3blue1brown.
The youtube video: https://www.youtube.com/watch?v=8GPy_UMV-08&