Last edited 15dec15 by
Find this document at
Brian Campbell-Deem, Math198


< Weekly Updates -|- Project -|- About -|- Home >

Double-pendulum 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 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.