Visualization for basic simulation of a perfectly elastic collision between balls https://demo.pages.djmil.dev/egui-circles
Go to file
2024-07-12 19:56:08 +02:00
assets assets 2024-07-11 22:14:50 +02:00
src assets 2024-07-11 22:14:50 +02:00
.gitignore web assembly + trunk 2024-07-03 22:22:53 +02:00
Cargo.toml web assembly + trunk 2024-07-03 22:22:53 +02:00
index.html assets 2024-07-11 22:14:50 +02:00
LICENSE Initial commit 2024-04-28 21:51:37 +02:00
README.md readme to point to wiki page or pdf 2024-07-12 19:56:08 +02:00

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.