What the code does
This demo shows you how to draw a standard Gabor using PTB's procedural texture support. This allows one to draw many Gabors patches in an extremely efficient manner. For this demo we simply draw one Gabor in the center of the screen. There are a few specific parameters that need to be set to draw a standard Gabor. This demo shows you how to do that.