wasm-bindgen/examples/webgl
Alex Crichton 32c611d16d Convert all examples to using wasm-pack
This commit migrates all our examples to using `wasm-pack build` to
compile their code and run `wasm-bindgen`. This should make it a bit
easier to understand the examples as there's less to follow during the
build step.

Webpack projects are all using `@wasm-tool/wasm-pack-plugin` as well so
the build step is simple `npm run serve`. Other examples which retain
`build.sh` are just using `wasm-pack build` now
2019-01-17 08:37:32 -08:00
..
src Update webgl example to the 2018 edition 2018-12-11 13:35:48 -02:00
Cargo.toml Bump to 0.2.32 2019-01-16 13:11:13 -08:00
index.html Fix polyfill of TextEncoder and TextDecoder 2018-09-30 10:16:20 -07:00
index.js Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00
package.json Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00
README.md Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00
webpack.config.js Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00

WebGL Example

View documentation for this example online or View compiled example online

You can build the example locally with:

$ npm run serve

and then visiting http://localhost:8080 in a browser should run the example!