The source code for a tutorial on rendering water using WebGL + Rust + WebAssembly
Clone or download
Latest commit 013885d Jan 7, 2019

README.md

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
npm install -g http-server

git clone https://github.com/chinedufn/webgl-water-tutorial
cd webgl-water-tutorial
cargo install -f wasm-bindgen@0.2.29 # Or download a release binary
./build.sh

http-server
# Visit http://localhost:8080 in your browser

See Also