Skip to content

rdg922/collisions

Repository files navigation

Collisions

Approximates the numbers of pi through a physics simulation:

Screenshot from 2024-06-20 11-50-53

Acknowledgements

This project is inspired by the phenomenon explained by 3Blue1Brown. Watch the video here.

This was made with help from my friend Brady Aber as a small project for our AP Physics 1 teacher.

This simulator was created using React and p5.js.

Getting Started with Create React App

This project was bootstrapped with Create React App. In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

About

A collision simulator that approximates the number pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published