14 breaking releases

0.15.0 Jul 8, 2024
0.14.0 Feb 8, 2023
0.13.0 Dec 11, 2022
0.12.0 Aug 21, 2022
0.2.0 Mar 23, 2021

#415 in GUI

Download history 291/week @ 2024-09-18 333/week @ 2024-09-25 226/week @ 2024-10-02 130/week @ 2024-10-09 225/week @ 2024-10-16 251/week @ 2024-10-23 314/week @ 2024-10-30 244/week @ 2024-11-06 127/week @ 2024-11-13 359/week @ 2024-11-20 376/week @ 2024-11-27 375/week @ 2024-12-04 663/week @ 2024-12-11 268/week @ 2024-12-18 26/week @ 2024-12-25 303/week @ 2025-01-01

1,327 downloads per month
Used in 11 crates (5 directly)

MIT/Apache

39KB
725 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–13MB
~166K SLoC