wasm-bindgen/examples/webgl
2018-09-17 20:59:26 -07:00
..
src Create basic WebGL example 2018-09-17 20:59:26 -07:00
.gitignore Create basic WebGL example 2018-09-17 20:59:26 -07:00
build.sh Create basic WebGL example 2018-09-17 20:59:26 -07:00
Cargo.toml Create basic WebGL example 2018-09-17 20:59:26 -07:00
index.html Create basic WebGL example 2018-09-17 20:59:26 -07:00
index.js Create basic WebGL example 2018-09-17 20:59:26 -07:00
package.json Create basic WebGL example 2018-09-17 20:59:26 -07:00
README.md Create basic WebGL example 2018-09-17 20:59:26 -07:00
webpack.config.js Create basic WebGL example 2018-09-17 20:59:26 -07:00

WebGL Example

This directory is an example of using the web-sys crate to interact with a WebGL context.

You can build and run the example with:

$ ./build.sh

(or running the commands on Windows manually)

and then opening up http://localhost:8080/ in a web browser should show a nice triangle.