Double pendulum (source code)

= Double pendulum
{wiki}

A double pendulum consists of two pendula coupled because the second pivot moves with the first mass.