10 breaking releases

Uses new Rust 2021

0.11.0 May 1, 2022
0.9.0 Feb 23, 2022
0.8.0 Dec 29, 2021
0.7.0 Oct 24, 2021
0.2.0 Mar 23, 2021

#236 in GUI

Download history 386/week @ 2022-03-11 112/week @ 2022-03-18 64/week @ 2022-03-25 118/week @ 2022-04-01 108/week @ 2022-04-08 111/week @ 2022-04-15 115/week @ 2022-04-22 168/week @ 2022-04-29 195/week @ 2022-05-06 406/week @ 2022-05-13 220/week @ 2022-05-20 170/week @ 2022-05-27 247/week @ 2022-06-03 123/week @ 2022-06-10 165/week @ 2022-06-17 99/week @ 2022-06-24

654 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

34KB
717 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

~4–11MB
~213K SLoC