https://github.com/programordie2/rust-verlet
https://github.com/programordie2/rust-verlet
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/programordie2/rust-verlet
- Owner: programORdie2
- Created: 2025-02-27T19:09:44.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-02-27T19:11:35.000Z (8 months ago)
- Last Synced: 2025-02-28T03:42:53.615Z (8 months ago)
- Language: Rust
- Size: 814 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Verlet Integration in Rust
This project implements a basic Verlet integration simulation in Rust, not optimized for speed yet.
## Features
- Cool particle simulation using Verlet integration
- Real-time rendering of particles
- Collision handling and boundary constraints
- Adjustable parameters for gravity, particle radius, and more
## Prerequisites
- Rust programming language (latest stable version)
- Cargo package manager
## Getting Started
1. **Clone the repository:**
```sh
git clone https://github.com/programordie2/rust-verlet.git
cd rust-verlet
```
2. **Build the project:**
```sh
cargo build --release
```
3. **Run the simulation:**
```sh
cargo run --release
```
## Configuration
Adjust parameters such as gravity, particle radius, and maximum number of particles in the `src/main.rs` file. These constants are defined at the top of the file for easy modification.
## Screenshot

## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
## Acknowledgments
- Inspired by various physics simulation projects and tutorials.