Skip to content
/ egui-miniquad-demo Public template

A demo application based on egui-miniquad, for Linux, MacOS, Windows, WASM, Android and iOS.

Notifications You must be signed in to change notification settings

frgomes/egui-miniquad-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

egui-miniquad-demo

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/

Building for Linux

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

Building for the web

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.

Building for Android

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

About

A demo application based on egui-miniquad, for Linux, MacOS, Windows, WASM, Android and iOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published