Shared Scripts, Data, Stimuli, Files, and Demos
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.
main.setfontsize(50); radio("Welcome! This memory experiment will last approximately 2 minutes. Participation in this experiment is entirely voluntary and you may withdraw at any time. Would you like to proceed?",[["Yes"],["No"]],"consent"); if (response.consent === "Yes") { main.setfontsize(70); text("You will see two images of people on the screen
" + "Please indicate which one you think looks most trustworthy
" + "Press the 'F' key for the left image, and press the 'J' key for the right one
" + "Don't think too long, as you will have just 3 seconds to make a choice
" + "Start the experiment by pressing the space bar"); awaitkey(" "); clear(); var l = addblock("left","center",45,80), r = addblock("right","center",45,80); l.preload("face1.jpg"); l.preload("face2.jpg"); l.preload("face3.jpg"); l.preload("face4.jpg"); l.preload("face5.jpg"); l.preload("face6.jpg"); l.preload("face7.jpg"); l.preload("face8.jpg"); l.preload("face9.jpg"); l.preload("face10.jpg"); l.preload("face11.jpg"); l.preload("face12.jpg"); l.preload("face13.jpg"); l.preload("face14.jpg"); l.preload("person1.jpg"); l.preload("person2.jpg"); l.preload("person3.jpg"); l.preload("person4.jpg"); l.preload("person5.jpg"); l.preload("person6.jpg"); l.preload("person7.jpg"); l.preload("person8.jpg"); l.preload("person9.jpg"); l.preload("person10.jpg"); l.preload("person11.jpg"); l.preload("person12.jpg"); l.preload("person13.jpeg"); l.preload("person14.jpg"); r.preload("face1.jpg"); r.preload("face2.jpg"); r.preload("face3.jpg"); r.preload("face4.jpg"); r.preload("face5.jpg"); r.preload("face6.jpg"); r.preload("face7.jpg"); r.preload("face8.jpg"); r.preload("face9.jpg"); r.preload("face10.jpg"); r.preload("face11.jpg"); r.preload("face12.jpg"); r.preload("face13.jpg"); r.preload("face14.jpg"); r.preload("person1.jpg"); r.preload("person2.jpg"); r.preload("person3.jpg"); r.preload("person4.jpg"); r.preload("person5.jpg"); r.preload("person6.jpg"); r.preload("person7.jpg"); r.preload("person8.jpg"); r.preload("person9.jpg"); r.preload("person10.jpg"); r.preload("person11.jpg"); r.preload("person12.jpg"); r.preload("person13.jpeg"); r.preload("person14.jpg"); image.await("preloading_completed"); var fake = ["face1.jpg","face2.jpg","face3.jpg","face4.jpg", "face5.jpg","face6.jpg","face7.jpg","face8.jpg","face9.jpg","face10.jpg","face11.jpg","face12.jpg","face13.jpg","face14.jpg"], real = ["person1.jpg","person2.jpg","person3.jpg","person4.jpg","person5.jpg","person6.jpg","person7.jpg","person8.jpg","person9.jpg","person10.jpg","person11.jpg","person12.jpg","person13.jpeg","person14.jpg"], i, e, stimuli = [], test, person = 0, AI = 0, AI_face = 0, real_face = 0; stimuli = stimuli.concat(fake,real); for (i = 0; i < fake.length; i=i+1) { test = Math.floor(2* Math.random()); if(test === 0){ l.setimage(fake[i]); r.setimage(real[i]); e = awaitkey("f,j",3000); if (e.type === "timeout"){ l.hideimage(); r.hideimage(); text("Please, try to respond faster next time (in under 3 seconds)"); await(3000); clear(); --i; } else { if (e.key === 'f') { AI = 1; person = 0, ++ AI_face; } else { AI = 0; person = 1, ++ real_face; } } } else { r.setimage(fake[i]); l.setimage(real[i]); e = awaitkey("f,j",3000); if (e.type === "timeout"){ l.hideimage(); r.hideimage(); text("Please, try to respond faster next time (in under 3 seconds)"); await(3000); clear(); --i; } else { if (e.key === 'f') { AI = 0; person = 1, ++ real_face; } else { AI = 1; person = 0, ++ AI_face; } } } await(1000); l.clear(); r.clear(); log(person,"real_person"); log(AI,"AI"); console.log(stimuli[i],e); log(AI_face,"AI_face"); log(real_face,"real_face"); log(e.key,"keypress"); log(e.RT,"Reaction Time"); } main.setfontsize(80); text("The purpose of this memory experiment was to investigate if people find AI faces or real faces more trustworthy"); await(6000); clear(); await(1000); text("You chose the AI face "+ AI_face +" times, and the real face "+ real_face +" times!"); await(4000); clear(); text("This concludes the experiment, thank you for participating!"); await(3000); clear(); } else { main.setfontsize(100); text("Experiment ended."); await(2000); clear(); }
Data inspection is forthcoming!
In the mean time, authors may download their own data and make it available as an Excel file. Check out the 'Stimuli and Files' tab.
Click on a category to view the stimuli and files
You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.
You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.
You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.
You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.