Skip to content

Dynamical systems & chaos analysis · Python on a Rust engine

TSDynamics

177 built-in systems. JIT-compiled integration, no build step. A full chaos-analysis toolkit — define the math once, get the rest.

$pip install tsdynamics copy

If TSDynamics helps your research, please cite it — see Project · Citation for the BibTeX entry and DOI.

attractor · three.js drag to orbit ⟳
loading…
— trajectory state
No. 1

A native engine, no build step

ODEs, delay equations and maps all lower to one Rust engine and run on a built-in Cranelift JIT, with a bit-for-bit identical interpreter alongside. No toolchain, nothing on disk: it compiles itself, in milliseconds, once per system.

No. 2

177 systems out of the box

Continuous flows, delay equations and maps — Lorenz to Mackey–Glass to Hénon — each with literature defaults, named variables and a generated page with its attractor.

No. 3

One protocol, every analysis

Everything that steps — a map, a flow, a Poincaré section of a flow — shares one protocol, so the toolkit composes: an orbit diagram over a Poincaré map is a bifurcation diagram.