Crates.io | egui-miniquad |
lib.rs | egui-miniquad |
version | 0.15.0 |
source | src |
created_at | 2021-03-13 14:09:51.338412 |
updated_at | 2024-07-08 07:01:50.904854 |
description | Bindings between egui and miniquad |
homepage | https://github.com/not-fl3/egui-miniquad |
repository | https://github.com/not-fl3/egui-miniquad |
max_upload_size | |
id | 368300 |
size | 86,600 |
On Linux you first must run apt install libx11-dev libxi-dev libgl1-mesa-dev
(miniquad dependencies).
cargo run --release --example demo
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 webbuild_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 publishThe 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/.