rgl/drawrs
2021-11-28 11:30:45 -06:00
..
src Add ability to download drawing 2021-11-28 11:29:17 -06:00
.gitignore Initial commit 2021-11-26 19:24:07 -06:00
Cargo.lock Add ability to change line color 2021-11-27 17:18:08 -06:00
Cargo.toml Add ability to change line color 2021-11-27 17:18:08 -06:00
index.html Add ability to track mouse clicks 2021-11-26 20:34:52 -06:00
README.md Add README 2021-11-28 11:30:45 -06:00
script.js Add ability to download drawing 2021-11-28 11:29:17 -06:00
style.css Add ability to download drawing 2021-11-28 11:29:17 -06:00

DrawRS

Live App

Running Locally

  1. Install dependencies

    First, install rust from the Rust website. Then, install trunk:

    cargo install --locked trunk
    

    This project requires rustc version 1.56.0 because it uses the 2021 edition of Rust!

  2. Build project

    cd /path/to/drawrs
    trunk serve
    
  3. Open in browser

    Check the supported browser list and open https://localhost:8080 in one of the supported browsers.

Created using Sycamore and Rust with WebAssembly