What the code does
Animates three different coloured rotating squares using basic OpenGL commands. OpenGL underlies the presentation of visual stimuli in PTB and there are a number of ways in which to directly access OpenGL functionality. This is one of the great powers of PTB.