This project implements a basic Verlet integration simulation in Rust, not optimized for speed yet.
- Cool particle simulation using Verlet integration
- Real-time rendering of particles
- Collision handling and boundary constraints
- Adjustable parameters for gravity, particle radius, and more
- Rust programming language (latest stable version)
- Cargo package manager
-
Clone the repository:
git clone https://github.com/programordie2/rust-verlet.git cd rust-verlet
-
Build the project:
cargo build --release
-
Run the simulation:
cargo run --release
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.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
- Inspired by various physics simulation projects and tutorials.