based on Complexity Explorable: " Double Trouble - An example of chaotic dynamics in a simple mechanical system"