diff --git a/README.md b/README.md index d3d38c5..631a82d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,30 @@ # double-pendulum -Double Pendulum chaotic sim in rust + webassembly \ No newline at end of file + + +- [double-pendulum](#double-pendulum) + - [Prereqs](#prereqs) + - [Build](#build) + + + +Double Pendulum chaotic sim in rust + webassembly (WIP) + +## Prereqs + +- Rust toolchain (`rustup`, `cargo`, `rustc`) +- Install [`wasm-pack`](https://github.com/wasm-bindgen/wasm-pack) + +## Build + +Package can be built using: + +```bash +wasm-pack build --target web +``` + +Result can be viewed by hosting the directory, e.g. using: + +```bash +python -m http.server 8080 +```