PhysAnim is a Python library for physics simulations and animations.
pip install physanimFor Jupyter support:
pip install physanim[interactive]import physanim
from physanim.systems import DoublePendulum
sim = DoublePendulum()
physanim.animate(sim)from physanim import interact
from physanim.systems import DoublePendulum
interact(DoublePendulum, L1=(0.5, 3.0), m1=(1.0, 5.0))This project is licensed under the MIT License - see the LICENSE file for details.