15 breaking releases
| 0.16.0 | May 20, 2025 |
|---|---|
| 0.15.0 | Jul 8, 2024 |
| 0.14.0 | Feb 8, 2023 |
| 0.13.0 | Dec 11, 2022 |
| 0.2.0 | Mar 23, 2021 |
#810 in GUI
3,342 downloads per month
Used in 13 crates
(6 directly)
40KB
729 lines
egui bindings for miniquad
native
On Linux you first must run apt install libx11-dev libxi-dev libgl1-mesa-dev (miniquad dependencies).
cargo run --release --example demo
Compiling for the web
You can compile your app to WASM and publish it as a web page. For this you need to set up some tools. There are a few simple scripts that help you with this:
./setup_web.sh
./build_web.sh
./start_server.sh
open http://127.0.0.1:8080/
setup_web.shinstalls the tools required to build for webbuild_web.shcompiles your code to wasm and puts it in thedocs/folder (see below)start_server.shstarts a local HTTP server so you can test before you publish- Open http://127.0.0.1:8080/ in a web browser to view
The finished web app is found in the docs/ folder (this is so that you can easily share it with GitHub Pages).
You can try the demo in this repository by visiting https://not-fl3.github.io/egui-miniquad/.
Dependencies
~6–10MB
~201K SLoC