13 breaking releases

0.14.0 Feb 8, 2023
0.13.0 Dec 11, 2022
0.12.0 Aug 21, 2022
0.11.0 May 1, 2022
0.2.0 Mar 23, 2021

#1113 in GUI

Download history 177/week @ 2023-12-17 114/week @ 2023-12-24 47/week @ 2023-12-31 193/week @ 2024-01-07 169/week @ 2024-01-14 135/week @ 2024-01-21 83/week @ 2024-01-28 127/week @ 2024-02-04 174/week @ 2024-02-11 225/week @ 2024-02-18 213/week @ 2024-02-25 199/week @ 2024-03-03 255/week @ 2024-03-10 274/week @ 2024-03-17 207/week @ 2024-03-24 600/week @ 2024-03-31

1,384 downloads per month
Used in 7 crates (3 directly)

MIT/Apache

37KB
701 lines

egui bindings for miniquad

Latest version Documentation Build Status MIT Apache

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.sh installs the tools required to build for web
  • build_web.sh compiles your code to wasm and puts it in the docs/ folder (see below)
  • start_server.sh starts 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

~5–14MB
~149K SLoC