Double Pendulum Simulation

Welcome to the Double Pendulum Simulator! The goal of this program is to give a visual of the core concepts discussed in Chaos theory. For every new pendulum made, the Θ₁ increases by 0.001 degrees. At first, their motion appears synchronized, but over time, their paths diverge dramatically, revealing the sensitive dependence on initial conditions that defines chaotic systems.

To see the source code:

Pendulum Repository

To learn more about Chaos Theory and the math behind the double pendulum:

Embrace the Chaos

Instructions:

Use the sliders to adjust the pendulum parameters.

Press the Run button to update the simulation and reflect the changes on the canvas.

Change Pendulum Values

Change Trail Length (100 is no trail)

Value:

Length L1

Value:

Length L2

Value:

Mass of Ball 1

Value:

Mass of Ball 2

Value:

Number of Pendulums

Value: