This commit is contained in:
@@ -1,3 +1,30 @@
|
||||
# double-pendulum
|
||||
|
||||
Double Pendulum chaotic sim in rust + webassembly
|
||||
<!--toc:start-->
|
||||
|
||||
- [double-pendulum](#double-pendulum)
|
||||
- [Prereqs](#prereqs)
|
||||
- [Build](#build)
|
||||
|
||||
<!--toc:end-->
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user