mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-15 12:44:31 +03:00
0c41c0b432
These were removed and replaced with normal methods on window and a standalone function to get the global window. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.sh | ||
Cargo.toml | ||
index.html | ||
index.js | ||
package.json | ||
README.md | ||
webpack.config.js |
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.