In this chapter, we will transform our GUI by giving it true 3-dimensional capabilities. We will use two Python third-party packages. PyOpenGL is a Python binding to the OpenGL standard, which is a graphics library that comes built-in with all major operating systems. This gives the resulting widgets a native look and feel.
Pyglet is another Python binding to the OpenGL library, but it can also create GUI applications, which can make coding using Pyglet easier than using PyOpenGL.