A demo application based on egui-miniquad, for Linux, MacOS, Windows, WASM, Android and iOS.
See a demo online here: https://frgomes.github.io/egui-miniquad-demo/docs/
The main program demo
contains the executable code for Linux and other platforms.
./build.sh linux --example demo
or just the usual:
cargo run --example demo
The main program demo
contains the executable code for WASM and other platforms.
You can compile your app to WASM and publish it as a web page.
#!/bin/bash
./build.sh web --example demo
./build.sh serve docs
firefox http:https://127.0.0.1:8080/
The finished web app is found in the docs/
folder. You can easily share it with GitHub Pages.
The main program android
contains the activity to be executed by Android.
NOTE: The Android build is done in a container which is automagically created for you, if necessary. For more information, please visit: https://github.com/frgomes/bash-scripts/blob/master/bin/miniglue
#!/bin/bash
./build.sh android --target aarch64-linux-android --example android
adb install ./target/debug/apk/examples/demo.apk