What the code does
This demo shows three basic ways in which to present a stimulus which would change on each frame with varying degrees of potential accuracy. Please read the extensive comments in the demo closely, they are important and should not be ignored. For presenting a stimulus which is unchanging, or changes less frequently then each frame, see Wait Frames Demo.