Visualization for basic simulation of a perfectly elastic collision between balls
https://demo.pages.djmil.dev/egui-circles
assets | ||
src | ||
.gitignore | ||
Cargo.toml | ||
index.html | ||
LICENSE | ||
README.md |
Immediate Mode GUI app with naive visualization for elastic balls collisions.
Build & run
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # install rust
cargo run --package=egui-circles # build & run
HowTo
ImGui
Detailed information on how to use egui rust library can found here.
Math
A simple explanation of Home [Collisions2D.pdf] 2D vector math silently working behind the coalitions simulation.