These scripts reproduce the individual figures for the OpenGL matrix blog at https://olitheolix.com.
The scripts require Python 3 (Python 2 will not work), NumPy, PyQt4, PyQt4-OpenGL, and pyopengl. On Debian based systems (eg. (K)Ubuntu) all but pyopengl are available via apt. You can get pyopengl for Python 3 via PIP:
>> sudo pip3 install pyopengl