Skip to content

MosesAlexander/wgpu-experiments

Repository files navigation

Workspace for doing experiments with wgpu both natively and with WASM targets

I used to not care about web technologies since you couldn't do that much with them. Now with WebGPU on the scene I can see a lot of scientific applications and good interfaces for measuring equipment to be all done on the web.

To build:

Step 1: Clone repository

git clone https://github.com/MosesAlexander/wgpu-experiments.git

Step 2: Clone submodules

git submodule update --init --recursive

Step 3a: Build and run native app:

cargo run

Step 3b: Run this script to build wasm32 target:

./build-wasm.sh

There is an index.html file in wgpu-experiments-lib/pkg/ Start a web server in that directory and connect to it. You should get the rendered window in your browser.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors