Files
double-pendulum/README.md
T
Philippe Zwietering 930b896d58
gitea/double-pendulum/pipeline/head There was a failure building this commit
docs: README naar docs laten verwijzen
2026-09-08 17:23:05 +02:00

33 lines
590 B
Markdown

# double-pendulum
[Docs](https://zwietering.eu/projects/double-pendulum/doc/double_pendulum_wasm)
<!--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
cd pkg && python -m http.server 8080
```