If you are a registered user and signed in, you can here copy this script and its stimuli to your own account, where you can edit it and change it in any way you want.
It is absolutely free to register (no credit card info asked!). You can then instantly copy this experiment with one click and edit it, change its accompanying texts, its landing page, stimuli, etc. Invite your colleagues, friends, or students to check out your experiment. There is no limit on how many people can do your experiment, even with a free account.
The catch? There is no catch! Just keep in mind that with a free account, you cannot collect data. For teaching that is usually not a problem. For research, prepaid data collection (unlimited subjects) starts as low as €10.00 for a 10-day period.
var words = ['apple','table','grass','bike','sand'], nonwords = ['aplap','blatle','rasag','kibe','snad'], i, stimuli = [], e; stimuli = stimuli.concat(words,nonwords); // Combine two arrays into one new one stimuli = shuffle(stimuli); // Randomize the word/non-word order // Present some instructions, where <br> gives a line-break text("You will see a word or non-word appear in the middle of the screen <br>" + "Press the S-Key for a word or the L-key for a non-word <br>" + "Try to be as accurate and fast as possible <br>" + "Start the experiment by pressing the space bar.").align("left"); awaitkey(' '); // Wait until the space bar is pressed for (i = 0; i < stimuli.length; ++i) { text(stimuli[i],300); // show a word or non-word at 300% size e = awaitkey('s,l',2000); // Await s or l or 2 s time-out // Wait until either the S-key or the L-key has been pressed. If so... console.log(stimuli[i],e); if (e.type === "timeout") { text("Please, try to respond faster (within 2 seconds)"); await(3000); } clear(); // Clear the screen await(1000); // Give 1000 ms pause } text("<h2>Finished!</h2>Thank you for participating"); await(3000);
You can download the files as follows: Click on the file (link) and then right-click and choose Save as... from the menu. Some media files (e.g., sound) will have a download button for this purpose.