Ball physics simulator based on fully elastic collisions and a sweep line algorithm for collision detection.
First, you have to install rustc and cargo. Then clone this repository, navigate to the cloned folder and run
cargo run --release
Until #4 is resolved, all configuration has to be done in source code. To do that, add wanted Particle templates
to the Vec
in Simulation
's constructor and then recompile and run the cargo project.