Abstract
Critical to vision research is the generation of visual displays with precise control over stimulus metrics. Generating stimuli often requires adapting commercial software or developing specialized software for specific research applications. In order to facilitate this process, we give here an overview that allows nonexpert users to generate and customize stimuli for vision research. We first give a review of relevant hardware and software considerations, to allow the selection of display hardware, operating system, programming language, and graphics packages most appropriate for specific research applications. We then describe the framework of a generic computer program that can be adapted for use with a broad range of experimental applications. Stimuli are generated in the context of trial events, allowing the display of text messages, the monitoring of subject responses and reaction times, and the inclusion of contingency algorithms. This approach allows direct control and management of computer-generated visual stimuli while utilizing the full capabilities of modern hardware and software systems. The flowchart and source code for the stimulus-generating program may be downloaded from www.psychonomic.org/archive.
Article PDF
Similar content being viewed by others
References
Abrash, M. (1997). Michael Abrash s graphics programming black book (Special ed.). Albany, NY: Coriolis.
Bokhorst, F. D. (1995). Bit-plane layering for high-resolution EGA and VGA graphics on the IBM PC/XT/AT. Behavior Research Methods, Instruments. & Computers, 27, 496–501.
Diesch, E. (1994). A high-resolution color graphic display four-channel software tachistoscope. Behavior Research Methods, Instruments, & Computers, 26, 331–334.
Olds, E. S., Cowen, W. B., & Jolicœur, P. (1999). Effective color CRT calibration techniques for perception research. Journal of the Optical Society of America A, 16, 1501–1505.
Paredes, D. R., Miller, K. F., & Creeger, C. (1990). Graphic precision: Controlling stimulus displays on IBM PC-compatible computers. Behavior Research Methods, Instruments, & Computers, 22, 319–322.
Petzold, C. (1998). Programming Windows. Redmond, WA: Microsoft Press.
Sierra, K., & Bates, B. (2002). Sun certified programmer and developer for Java 2 study guide (3rd ed.). Berkeley, CA: McGraw-Hill.
Author information
Authors and Affiliations
Corresponding author
Electronic supplementary material
Rights and permissions
About this article
Cite this article
Bukhari, F., Kurylo, D.D. Computer programming for generating visual stimuli. Behav Res 40, 38–45 (2008). https://doi.org/10.3758/BRM.40.1.38
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.3758/BRM.40.1.38