porting pyvida to pyglet