This is the first time I’m trying to code an experiment in PsychoPy. I’m trying to replicate an eye tracking study I programmed in Experiment Builder with the Eyelink hardware, and also used TrajTracker, a mouse tracking program to run the experiment on a touch screen computer, or while using a mouse. But I’d like to create a PsychoPy version so I can run it online.
Participants start in a small square at the bottom center of the screen and click and hold the mouse down through the duration of each trial.
Participants begin by moving the clicked mouse out of the start box.
After a time delay (which should be variable using a csv I assume) a visual stimulus (there are 8 possible stimuli images which should be randomized) appears directing the participant to move their mouse to one of tow targets either on the left or right of the screen.
I would like to continuously track the position, and velocity of the mouse movements through time, and also capture the time at which the participant reaches one of the targets.
After reaching a target the next trial should begin, with the participant placing their mouse in the start square, clicking and holding, then moving out of the box. These trials are repeated with variable delays of the onset of the randomized stimuli. I have attached an image of what a single trial might look like.