Happy Pi Day! Almost all credit to @TheRealAl2009; you're much better at math than I ever will be I watched Matt Parker's 2026 Pi Day video, and I found the method he used for pi calculation really interesting, so I implemented it here. The algorithm (in light pink) usually seems to converge pretty slowly (usually because it's based on randomness), and often gets stuck for a bit. It should in theory always get unstuck though.