Files
2026-10-18 20:42:38 +01:00

31 lines
783 B
Markdown

# Symplectic Double Pendulum Simulation
A Hamitonian-based double pendulum simulation, using the augmented
phase space method decribed in [Molei Tao's paper on the
subject](https://arxiv.org/pdf/1609.02212).
## Building and Running
The simulation is written in Rust and uses Cargo as its build system.
The Rust toolchain (including Cargo) is most easily installed with
[Rustup](https://rustup.rs/).
Given that you have a toolchain installed, a real-time animation of
the simulation can be ran with:
```
cargo run --bin anim
```
Alternatively you can generate a trace image of the path the outer bob
takes with:
```
cargo run --bin trace
```
## License
Copyright © Camden Dixie O'Brien, available under the Komorebi 2.0.0
license. See [LICENSE.md](LICENSE.md) for details.