On the efficiency of drawing computer-generated line stimuli: rectangles can be faster than lines.
A simple method is presented for optimizing the efficiency of drawing line stimuli in Turbo Pascal. It involves the substitution of Rectangle and Bar commands for Line commands and results in time savings of up to 90%. The savings are most consistent for horizontal lines, although some savings may also be made for vertical lines. The effects of different graphics libraries, graphics modes, and hardware configurations are discussed. The method proves especially useful in improving the spatiotemporal resolution of on-line-generated motion displays.
Olivers
C N
CN
Cognitive Science Research Centre, School of Psychology, University of Birmingham, Edgbaston, England. c.n.olivers@bham.ac.uk
Watson
D G
DG
D000465:Algorithms; D003196:Computer Graphics; D006801:Humans; D008838:Microcomputers; D010775:Photic Stimulation; D011594:Psychometrics / Q000295:instrumentation*; D012984:Software; D014796:Visual Perception