A web interface to test WESL (WGSL Extended) shaders in the browser.
Website: wesl.thissma.fr
Spec Reference: wesl-spec
Supported Implementations:
- 🟢 wesl-rs (supported)
- 🔴 wesl-js (planned #1)
- 🔴 ncthbrt/mew (planned #3)
- 🔴 naga_oil (planned #2)
- For wesl-rs: (set the path or git url to crate
wesl
first inwesl-web/Cargo.toml
, it is not yet available on crates.io). - Instal:
yarn install
- Update crate
wesl-web
:- release
wasm-pack build wesl-web --release --target web --out-dir ../src/wesl-web
- development
wasm-pack build wesl-web --dev --target web --out-dir ../src/wesl-web --features debug
- release
- Build:
- release
yarn build
- development
yarn dev
- release
Contributions are welcome. Please join the discord server and introduce yourself first, or contact via email.