https://github.com/zsrobinson/pi
A Monte Carlo Simulation to Estimate the Value of PI
https://github.com/zsrobinson/pi
monte-carlo simulation
Last synced: 9 days ago
JSON representation
A Monte Carlo Simulation to Estimate the Value of PI
- Host: GitHub
- URL: https://github.com/zsrobinson/pi
- Owner: zsrobinson
- License: gpl-3.0
- Created: 2021-06-24T08:01:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-02T02:16:35.000Z (over 4 years ago)
- Last Synced: 2025-11-23T07:03:04.235Z (7 months ago)
- Topics: monte-carlo, simulation
- Language: JavaScript
- Homepage: https://pi.zsrobinson.com
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Estimating PI with Darts
Visit Project: https://pi.zsrobinson.com ([Alternate Link](https://zsrobinson.github.io/pi))
This a simple project to estimate the value of PI using a [Monte Carlo](https://en.wikipedia.org/wiki/Monte_Carlo_method) 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](https://youtu.be/M34TO71SKGk) by Physics Girl and Veritasium on YouTube. This project uses the CSS Framework [Bulma](https://bulma.io/) and the Bulma Extension [Bulma Prefers Dark](https://github.com/jloh/bulma-prefers-dark), which are both licensed under the MIT license.