2D animation using pyCUDA and PyOpenGL