Python implementation of the animation shown in the YouTube video Beautiful Trigonometry uploaded by Numberphile.
This was implemented in Python 3.6.10 and there is a requirements.txt file in the repository. Fork and clone the repository, install the requirements and then run:
python animation.py
Which should produce the following animation:
Installing imagemagick and uncommenting this line in "animation.py":
# animation.save('animation.gif', writer='imagemagick', fps=60)
will allow you to save your own .gif files.