A script to create simulation animation of a specific number of double pendulums with a specific error in initial conditions.
pipenv install --ignore-pipfile --skip-lock --python 3.9
pipenv shell
If faced by UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
sudo apt-get install python3.9-tk
python double-pendulum.py -h
-h, --help show this help message and exit
-n , --count Pendulum count
-d , --delta Initial condition delta
-v, --video Create a video file of the animation
-t , --time Number of seconds to simulate
python double-pendulum.py -n 5 -d 0.01 -t 10
python double-pendulum.py -n 5 -d 0.01 -t 10 -v