2022-04-28 09:23:34 +00:00
|
|
|
# egui demo app
|
2022-08-20 13:18:02 +00:00
|
|
|
This app demonstrates [`egui`](https://github.com/emilk/egui/) and [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe).
|
2022-04-28 09:23:34 +00:00
|
|
|
|
|
|
|
View the demo app online at <https://egui.rs>.
|
|
|
|
|
|
|
|
Run it locally with `cargo run --release -p egui_demo_app`.
|
|
|
|
|
|
|
|
`egui_demo_app` can be compiled to WASM and viewed in a browser locally with:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./sh/start_server.sh &
|
2022-08-02 07:56:38 +00:00
|
|
|
./sh/build_demo_web.sh --open
|
2022-04-28 09:23:34 +00:00
|
|
|
```
|
|
|
|
|
2022-08-20 13:18:02 +00:00
|
|
|
`egui_demo_app` uses [`egui_demo_lib`](https://github.com/emilk/egui/tree/master/crates/egui_demo_lib).
|
2022-07-29 14:07:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Running with `wgpu` backend
|
|
|
|
`(cd egui_demo_app && cargo r --features wgpu)`
|