setup dev enviroment (linux):
- (WSL)(debian-based)
sudo apt install build-essential - install rustup
rustup target add wasm32-unknown-unknowncargo install wasm-pack- (debian-based)
sudo apt install python3 python3-pip ipython3
build the app for WebGPU:
wasm-pack build --target web
start a local server to host the app:
python -m http.server or python3 -m http.server