Skip to content

Repository files navigation

WebGL Basic Water Tutorial

If you have any questions or run into any stumbling blocks please feel free to open an issue!

Read the tutorial

Screenshot of tutorial

# You can use any static file server that properly sets the
# `application/wasm` mime type
cargo install https

git clone https://github.com/chinedufn/webgl-water-tutorial
cd webgl-water-tutorial

# A version of Rust that can compile wasm-bindgen-cli version 0.2.29
cargo install -f wasm-bindgen-cli --version 0.2.29 # Or download a release binary

# Build
./build.sh

## Opens your browser to http://localhost:8000  where the demo will be running
http -m wasm:application/wasm

See Also

About

The source code for a tutorial on rendering water using WebGL + Rust + WebAssembly

Resources

Stars

496 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages