mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-29 16:31:05 +00:00
16 lines
311 B
Markdown
16 lines
311 B
Markdown
|
# 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.
|