The goal of this project is to display chaos with the mangentic pendulum.
Each purple square is a magnet.
A quick video explaining the magnetic pendulum
In main.c:
"k_f","k_m","k_g" are the force constants.
To add magnets update the "magnets" array and the "numOfMagnets" variable.
Execute "main.c"