egui-circles/README.md

27 lines
815 B
Markdown
Raw Permalink Normal View History

2024-04-28 21:51:37 +02:00
Immediate Mode GUI app with naive visualization for elastic balls collisions. Live [demo](https://demo.pages.djmil.dev/egui-circles).
2024-04-29 14:25:45 +02:00
# Build & run
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # install rust
cargo run --package=egui_circles # build & run
```
### wasm32 build target
```bash
cargo install --locked trunk # https://trunkrs.dev
trunk serve # visit http://127.0.0.1:8080
2024-04-29 14:25:45 +02:00
```
# Acknowledgments
2024-04-29 14:25:45 +02:00
### ImGui
Detailed information on how to use [egui](https://github.com/emilk/egui) rust library can found [here](https://egui.info/).
### Math
A simple explanation of [2D vector math](https://gitea.djmil.dev/djmil/egui-circles/wiki/raw/Collisions2D.pdf), silently working behind the scene of the collisions simulation.