egui-circles/README.md
djmil cdb3f26532 wasm32 build target (#10)
This PR closes #5

- code refactors for the `wasm32`
- docker container for `wasm32`

Reviewed-on: #10
2024-08-31 12:23:28 +02:00

815 B

Immediate Mode GUI app with naive visualization for elastic balls collisions. Live demo.

Build & run

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # install rust
cargo run --package=egui_circles                               # build & run

wasm32 build target

cargo install --locked trunk    # https://trunkrs.dev
trunk serve                     # visit http://127.0.0.1:8080

Acknowledgments

ImGui

Detailed information on how to use egui rust library can found here.

Math

A simple explanation of 2D vector math, silently working behind the scene of the collisions simulation.