OpenGL is a great framework for hardware-accelerated rendering. Before losing any more word about it, let's consider a more basic rendering setup to draw a 3D sphere to a floating window, as shown in the following screenshot:
So what we have here are as follows:
jit.windowobject that provides us with rendering destination or rendering context. Its name is referenced by the other OpenGL objects.
jit.gl.renderobject that controls and drives our rendering. We need to send a bang to it to draw the next frame. But before that, we send it the message erase, so the last frame is overwritten with the background color. An