Last edited 15dec15 by firstname.lastname@example.org
Find this document at http://new.math.uiuc.edu/math198/cmpblld2
Brian Campbell-Deem, Math198
doublependulum.py is the third part of Physible and simulates the paradigm of chaos, a double pendulum. It's the second file I modified from Bruce Sherwood's doublependulum.py. His program creates a series of bars attached to a stand, and uses frames to allow them to appear to freely rotate by rotating the frames themselves. The changes I made involve copying the display to a second window, which runs separately; the user inputs masses and a small offset, the latter of which is applied to the second window, allowing one to see the quick divergence of behaviors for even a small change in initial conditions in a chaotic system. I also added a trail option which the user can choose to have which leaves a trail wherever the pendula move, allowing you to see the history of the pendula as well.