This is sort of not a matplotlib specific question, but it seems like
people on this list might be able to point me in some good directions.
I need to give a lecture on feedback control systems. I would like
to talk about stabalizing unstable systems and use an inverted
pendulum for an example. I know that Matlab had a demo like this that
included a fairly neat 2D visualization of a cart moving back and
forth with an inverted pendulum on it. I would need to run a
simulation in the background that outputs the cart position and the
pendulum angle and then I would want to create an animation of the
cart and pendulum moving around.
Can anyone recommend a python package for doing this kind of animation?