mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-26 15:01:07 +00:00
18 lines
494 B
Markdown
18 lines
494 B
Markdown
# web-sys: `requestAnimationFrame` loop
|
|
|
|
[View documentation for this example online][dox] or [View compiled example
|
|
online][compiled]
|
|
|
|
[compiled]: https://rustwasm.github.io/wasm-bindgen/exbuild/request-animation-frame/
|
|
[dox]: https://rustwasm.github.io/wasm-bindgen/examples/request-animation-frame.html
|
|
|
|
You can build the example locally with:
|
|
|
|
```
|
|
$ ./build.sh
|
|
```
|
|
|
|
(or running the commands on Windows manually)
|
|
|
|
and then visiting http://localhost:8080 in a browser should run the example!
|