Cleaning up the PyOpenGL Demos

Spent a bit of my second-last-day-of-vacation cleaning up the PyOpenGL Demos so that they run with current Python 3.10, PyOpenGL, numpy and PIL and can be installed as a package rather than only being usable via a git checkout.

There were a few bits of bit-rot, mostly around ctypes no longer allowing you to raise exceptions (i.e. systemexit) from callbacks and around images/arrays now using tobytes() instead of tostring() .


Comments are closed.


Pingbacks are closed.