- 🚀 High-performance particle simulation written in pure Rust
- ⚡ Efficient sequential collision detection and response
- 🌍 Configurable gravitational interactions
- 🔄 Euler integration methods
- 🧩 Modular architecture for custom force implementations
- 🎨 Real-time visualization support
To build from source:
git clone https://github.com/bislimkoci/Particle-Physics-Engine.git
cd Particle-Physics-Engine
cargo build --releaseThe engine currently supports:
- Particle-particle collisions using spatial hash
- Gravity-based interactions
- Boundary constraints
- Custom force generators
Benchmarks performed on:
- CPU: 11th Gen Intel(R) Core(TM) i7-1195G7 @ 2.90GHz
- Rust: Stable
- Build:
--release
Max particle before very low frame rate: 4000 particles
- Concurrency implementation
- GPU acceleration
- 3D particle support
- Barnes-Hut optimization
- Constraint solver improvements
- WASM support for browser simulations
- Interactive visualization tools
This project is licensed under the Apache 2.0 License.
See the LICENSE file for details.
If you find this project useful, consider giving it a ⭐ on GitHub!
It helps others discover the project and motivates future development.

