A web-based Monte Carlo Simulation application for modeling probability, uncertainty, and risk through repeated random sampling.
- 🎲 Monte Carlo-based probabilistic simulation
- 📊 Interactive simulation results
- ⚡ Fast development environment powered by Vite
- 🖥️ Browser-based interface
- 📦 Simple Node.js/npm setup
- 🚀 Production-ready build support
Before running the project, make sure you have the following installed:
- Node.js
- npm
You can download Node.js from Node.js.
Follow these steps to run the project locally.
git clone https://github.com/dharaarpan7/Monte-Carlo-Simulation.gitcd Monte-Carlo-SimulationInstall all required dependencies using npm:
npm installThis will read the project's package.json file and install the required packages into the node_modules directory.
Run the following command:
npm run devVite will start the local development server.
After starting the development server, the terminal will display a local URL similar to:
http://localhost:5173
Open the URL in your browser to launch the Monte Carlo Simulation.
To create an optimized production build, run:
npm run buildThe production files will be generated in the dist directory.
You can preview the production build locally with:
npm run previewA typical project structure looks like this:
Monte-Carlo-Simulation/
├── public/
├── src/
├── package.json
├── package-lock.json
├── index.html
└── vite.config.*
The exact structure may vary depending on the current implementation of the project.
For development, start the Vite development server:
npm run devChanges made to the source code will generally be reflected automatically through Vite's hot-reload functionality.
Contributions, bug reports, suggestions, and feature requests are welcome.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature- Make your changes.
- Commit your changes:
git commit -m "Add your feature"- Push the branch:
git push origin feature/your-feature- Open a Pull Request.
This project is available under the license specified in the repository.
Arpan Dhara
GitHub: @dharaarpan7
⭐ If you find this project useful, consider giving the repository a star!