Update README.md

This commit is contained in:
Stephen Seo 2024-09-18 19:34:33 +09:00
parent 1a105edba8
commit c3bf28eba4

View file

@ -16,3 +16,11 @@ This is a template for an emscripten project with a "Rust backend".
## Build ## Build
Just run `make` in the root of this project. Just run `make` in the root of this project.
## Other Notes
The current set up of the update/draw loop uses
`emscripten_set_main_loop_arg(...)` with parameters that should call the
browser's `requestAnimationFrame` that should call `update` and `draw` once per
each frame at the fps that the browser decides, which should match the fps of
your display.