mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-17 22:51:47 +03:00
.. | ||
src | ||
.gitignore | ||
build.sh | ||
Cargo.toml | ||
index.html | ||
index.js | ||
package.json | ||
README.md | ||
webpack.config.js |
Paint Example
This directory is an example of using the web-sys
crate for making a simple
painting program with all of the logic written in Rust.
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
blank canvas on which you can draw.