These files are needed to run the experiment in Matlab using the Psychtoolbox on a monitor ideally set to a refresh rate of 100 Hz. Raindrops_EEG.m is the main file; CreateTrials.m, CreateTrigger.m, and DropLocation.m are functions called within the main file.
In order to run, code snippets required to send triggers to the EEG system are commented out.
The video contains an example of how the experiment looked like. (because the video was recorded from a monitor with a refresh rate of 60 Hz, it looks a bit jumpy at times). During the experiment the dots were blue, we changed the color here for displaying purposes.