Double pendulums consist of two parts, each having a center of mass and a connection to another piece or the origin.
The program allows three operating modes.
./Pendulum-Simulation.exe 0 theta1, theta2, omega1, omega2 starts a simulation of a single double pendulum, with the provided theta as starting angles (will be parsed to radians) and omega as 2-dimensional starting velocity.
./Pendulum-Simulation.exe 1 theta1, theta2, omega1, omega2 starts a visualization of the angles of a simulated double pendulum.
Lissajous Figure: t1 = 0.2, t2 = 0.1
Non-Chaotic Double Pendulum: t1 = 0.8, t2 = 1.2
Chaotic Double Pendulum: t1 = 2.0, t2 = 0.0
./Pendulum-Simulation.exe 2 fractal-mode starts a simulation of the angular change of multiple (240x240) double pendulums, visualized by color. The fractal mode dictates how angles outside of the allowed radiant range are handled (wrap or clamp).
Youtube video Double Pendulums are Chaoticn't by 2swap.





