Shared Scripts, Data, Stimuli, Files, and Demos

reactiontimepareidolia Run Experiment

reactiontimepareidolia

Caro

No comments yet
 




Comments

No comments yet

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 normal = ['baumstamm_normal.jpg','blumenormal.jpg','coffeenormal.jpg','fruitnormal.png','kirchenormal.jpeg','reibenormal.jpg','sinknormal.jpg'];
    pareidolia = ['baumstammpareidolia.jpg','blumepareidolia.jpg','coffepareidolia.jpg','fruitpareidolia.jpeg','krichepareidolia.jpg','reibepareidolia.jpeg','sinkpareidolia.jpeg'];
    people = ['person1.jpg','person2.jpg','person3.jpg','person4.jpg','person5.jpg','person6.jpg','person7.jpeg'];
    
preload("baumstamm_normal.jpg");
preload("baumstammpareidolia.jpg");
preload("blumenormal.jpg");
preload("blumepareidolia.jpg");
preload("coffeenormal.jpg");
preload("coffepareidolia.jpg");
preload("fruitnormal.png");
preload("fruitpareidolia.jpeg");
preload("kirchenormal.jpeg");
preload("krichepareidolia.jpg");
preload("reibenormal.jpg");
preload("reibepareidolia.jpeg");
preload("sinknormal.jpg");
preload("sinkpareidolia.jpeg");
preload("person1.jpg");
preload("person2.jpg");
preload("person3.jpg");
preload("person4.jpg");
preload("person5.jpg");
preload("person6.jpg");
preload("person7.jpeg");

image.await("preloading_completed");

// consent and instructions

text("Welcome to this experiment! If you consent to participating, please click the screen");
await("click");
input("What is your name ?",'Subject');

text("Soon you will be presented with images on screen, one at a time.");
await(6000);
text("If you see an image of a human press the 'S' key.");
await(5000);
text("If it's not a human on the image, press the 'L' key.");
await(5000);
text("Remember: 'S' for human, 'L' for nonhuman. Try to respond as fast as possible. Click to start");
await("click");
    
// assign to either pareidolia or normal condition
var Pareidoliacondition = Math.random() < 0.5;

// reaction time variables for all subgroups of stimuli 
var stimulipareidolia = [];
var rt_pareidolia = 0;
var rt_personp = 0;

var stimulinormal = [];
var rt_normal = 0;
var rt_personn = 0;

// responsetype variable 1=correct, 0=incorrect

var responsetype;

// Pareidolia condition

if (Pareidoliacondition) {
    var t1, t2, RT;
    stimulipareidolia = stimulipareidolia.concat(pareidolia,people); 
    shuffle(stimulipareidolia);  

for (i = 0; i < stimulipareidolia.length;++i){
        setimage(stimulipareidolia[i]);
        var t1 = now();
        var e = awaitkey('s,l');
        var t2 = now();
        var RT = t2 - t1;

        if (contains(pareidolia, stimulipareidolia[i])) {
            log(RT,"pareidoliaRT");
            if (e.key ==='l'){
                log(1,"responsetype");
            } else {
                log(0,"responsetype");
                }
        } else {
            log(RT,"personpRT"); 
            if (e.key ==='s'){
                log(1,"responsetype");
            } else {
                log(0, "responsetype");
                    }
}
}   
// normal condition 
} else {
    var t1, t2, RT;
    stimulinormal = stimulinormal.concat(normal,people); 
    shuffle(stimulinormal);  

for (i = 0; i < stimulinormal.length;++i){
        setimage(stimulinormal[i]);
        var t1 = now();
        var e = awaitkey('s,l');
        var t2 = now();
        var RT = t2 - t1;

        if (contains(normal, stimulinormal[i])) {
            log(RT,"normalRT");
            if (e.key ==='l'){
                log(1,"responsetype");
            } else {
                log(0, "responsetype");
                    }
        } else {
            log(RT,"personnRT");
            if (e.key ==='s'){       
            log(1,"responsetype");
            } else {
                log(0,"responsetype");
                    }
}
}
}
text("This was it! Thank you for participating. Have a nice day!");
await(3000);

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.

This experiment has no video links

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.

Related Experiments