Uses Vello GPU with a native WebGL2 backend in the browser. This example does not use wgpu.
Run with RUSTFLAGS="-Ctarget-feature=+simd128" cargo run_wasm -p native_webgl --release.
If you don't want to enable SIMD, you can remove the RUSTFLAGS="-Ctarget-feature=+simd128" part.
In order to test this crate, you need to have wasm-pack installed. Install it using the steps found in https://wasm-bindgen.github.io/wasm-pack/installer/.
Thereafter, for interactive test sessions, run:
wasm-pack test --chrome # Navigate to printed URL