https://github.com/chinedufn/webgl-water-tutorial
The source code for a tutorial on rendering water using WebGL + Rust + WebAssembly
https://github.com/chinedufn/webgl-water-tutorial
Last synced: 9 months ago
JSON representation
The source code for a tutorial on rendering water using WebGL + Rust + WebAssembly
- Host: GitHub
- URL: https://github.com/chinedufn/webgl-water-tutorial
- Owner: chinedufn
- License: apache-2.0
- Created: 2018-12-31T20:06:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-20T17:23:33.000Z (over 3 years ago)
- Last Synced: 2024-10-18T07:10:45.938Z (about 1 year ago)
- Language: Rust
- Homepage: https://chinedufn.com/3d-webgl-basic-water-tutorial/
- Size: 4.34 MB
- Stars: 480
- Watchers: 12
- Forks: 45
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-list - webgl-water-tutorial
README
# WebGL Basic Water Tutorial
If you have any questions or run into any stumbling blocks please feel free to
[open an issue](https://github.com/chinedufn/webgl-water-tutorial/issues)!
[Read the tutorial](http://chinedufn.com/3d-webgl-basic-water-tutorial/)

```sh
# 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
- [ThinMatrix's OpenGL Water Tutorial](https://www.youtube.com/watch?v=HusvGeEDU_U&list=PLRIWtICgwaX23jiqVByUs0bqhnalNTNZh) - Heavily inspired this WebGL implementation
- [Landon](https://github.com/chinedufn/landon) - Used for exporting meshes and armatures from Blender
- [Binaryen](https://github.com/WebAssembly/binaryen) - WASM compiler and toolchain infrastructure library