mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-19 03:30:52 +00:00
16 lines
374 B
Markdown
16 lines
374 B
Markdown
|
# 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.
|