This sample illustrates using the Canvas object's drawing commands and synchronization with the redrawing of the screen in order to present apparent motion.
The Canvas object's drawing commands may be used to create 'animation' in E-Prime. This example draws two lines and moves them closer together. The time at which the lines intersect is logged and compared to the subject's response time.
A WaitForVerticalBlank command assures that drawing times are stable, and the apparent movement is smooth as a result.