Skip to content

Software

PyElastica

By Gazzola Lab, United States (checked on github.com/GazzolaLab (opens in a new tab)), from github.com/GazzolaLab/PyElastica (opens in a new tab)

  • Simulators
  • Simulator
  • MIT

PyElastica is a Python library for simulating assemblies of slender, one-dimensional structures using Cosserat rod theory. It is the Python implementation of the Elastica project.

Facts

GitHub stars
368read on 28 Nov 2026
Last update
13 Nov 2026Newest commit on master
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate

Checked on GitHub on 28 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 2626d91 (opens in a new tab), on 14 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Simulates assemblies of slender one-dimensional structures using Cosserat rod theory.
  • Installable from PyPI with pip; compatible with Python 3.10 and later.
  • Uses ffmpeg for plotting videos.
  • Documentation is available online.
  • Related projects extend it with GPU/JAX computing, magnetic fields, learning environments, and visualization plugins.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 13 Nov 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 2626d91

Robotheca read the repository at two versions: the summary at 0688eb4 and the facts and the README at 2626d91 (read on 28 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by Gazzola Lab, at commit 2626d91, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

PyElastica is the python implementation of Elastica: an open-source project for simulating assemblies of slender, one-dimensional structures using Cosserat Rod theory.

gallery (opens in a new tab)

Visit https://cosseratrods.org (opens in a new tab) for more information and learn about Elastica and Cosserat rod theory.

How to Start

(opens in a new tab) Image: Documentation Status (opens in a new tab) (opens in a new tab)

PyElastica is compatible with Python 3.11+.

$ pip install pyelastica

For plotting videos, ffmpeg is typically used.

Documentation of PyElastica is available here (opens in a new tab).

Related Projects
Citation

We ask that any publications which use Elastica cite as following:

@software{PyElastica,
  author       = {Arman Tekinalp and
                  Seung Hyun Kim and
                  Yashraj Bhosale and
                  Tejaswin Parthasarathy and
                  Noel Naughton and
                  Ali Albazroun and
                  Rahul Joon and
                  Songyuan Cui and
                  Ilia Nasiriziba and
                  Maximilian Stölzle and
                  Chia-Hsien (Cathy) Shih and
                  Mattia Gazzola},
  title        = {GazzolaLab/PyElastica},
  year         = 2024,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.7658871},
  url          = {https://doi.org/10.5281/zenodo.7658871}
}
References
List of publications and submissions
Contribution

If you would like to participate, please read our contribution guideline (opens in a new tab). Private development branches are moved to elastica-python (opens in a new tab) repository; access is limited to the core developers, collaborators, and maintainers.

PyElastica is developed by the Gazzola Lab (opens in a new tab) at the University of Illinois Urbana-Champaign.

Senior Developers ✨

Names arranged alphabetically

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.