pygarrayimage – fast display of numpy arrays to OpenGL/pyglet


pygarrayimage allows display of Python objects supporting the array interface as OpenGL textures without a copy. The OpenGL texture handling is done using pyglet.

In other words, this allows fast transfer of data from numpy arrays (or any other data source supporting the array interface) to the video card.


For the time being, all discussion for this software should happen on the pyglet-users mailing list.


One use case of pygarrayimage is the wxglvideo. Here is a screenshot of the wxglvideo_demo program:

Screenshot of wxglvideo_demo


Download official releases from the download page.

The development version of pygarrayimage (raw files) may be downloaded via git:

git clone git://