What is this?

Recently, I built a double pendulum simulation for a physics education project, and because the double pendulum exhibits chaotic motion I thought it would make an interesting sonification project. The way it's currently implemented, notes are played at a regular interval where the mass centers lie on the piano.

The simulation uses a symplectic Euler numerical integration method on the double pendulum dynamics equations (with friction in the joints) to approximate the motion given a set of initial conditions.

Source Code on Github


• To start the simulation, press start button

• To change simulation parameters, adjust sliders

• Explanation below