The software can approximate pi in three different ways. The first one ("Darts") is a Monte Carlo method, which uses random points to estimate the area of a circle. The second one ("Toothpicks") is a Buffon's needle simulation, which uses random needle throws to estimate the value of pi. The third one is an ellastic collision simulation, which uses the number of collisions to estimate pi.
![screenshot](/portfolio/projects/pi1.png)
arrow_back_iosarrow_forward_ios
![screenshot](/portfolio/projects/pi1.png)
![screenshot](/portfolio/projects/pi2.png)
![screenshot](/portfolio/projects/pi3.png)
![screenshot](/portfolio/projects/pi4.png)
![screenshot](/portfolio/projects/pi5.png)