Demonstrates how to use meshtext with bevy.
- Run using cargo
cargo run --release
- Build for wasm using cargo
cargo build --release --target wasm32-unknown-unknown
- Create JS binding with wasm-bindgen
wasm-bindgen --out-dir docs --target web target/wasm32-unknown-unknown/release/meshtext_bevy_sample.wasm
- Serve the root directory with a http-server. For example
live-server
Additionally a prebuilt sample can be found here.