/pi

A Monte Carlo Simulation to Estimate the Value of PI

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Estimating PI with Darts

Visit Project: https://pi.zsrobinson.com (Alternate Link)

This a simple project to estimate the value of PI using a Monte Carlo Simulation. Simply press "Simulate" to estimate the value of PI, and the simulation will display on the side. Only so many points will actually be displayed on the side, as you can't see all the points for a very high point count. For more accurate estimations, try increasing the point count. However, this will take longer to simulate.

This project was inspired by this video by Physics Girl and Veritasium on YouTube. This project uses the CSS Framework Bulma and the Bulma Extension Bulma Prefers Dark, which are both licensed under the MIT license.