Shared Scripts, Data, Stimuli, Files, and Demos

Attentional Blink Run Experiment

Attentional Blink

Jente

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 distractors = ["G", "H", "I", "O", "M", "D", "A","L", "P", "Y", "V", "U", "Q", "C", "Z", "J", "F", "R"];
var targets = ["S", "T"];
var Targ1=[0,0,0,0,0,0];
var Targ2=[0,0,0,0,0,0];
var Conditions = [0,0,0,0,0,0,0]; // 0=Immediate > 5 between> 6=No2nd. 
var list=[];
var trialcount= 1;
var con, LocT1, LocT2, TargsFound;

instruction("Welcome to this study. This experiment will test your 'attentional blink', in which your perception 'blinks' after processing a stimuli, thereby missing other important stimuli.").style("font-size","80%");
instruction("You will be shown very rapid sequences of letters. Your only goal is to find a T or an S in the sequence. After each sequence, you report whether the targets were present by typing T, S, TS or nothing (if neither was present). It's capital sensitive!").style("font-size","80%");
instruction("By participating, you claim to understand these instructions and know you can quit at any time to no consequence.").style("font-size","80%");

select("What is your gender?", ["male","female", "other"],"gender");
select("What is your age?",range(10,100),"age");

var b = addblock("right","bottom",10,10)
    .text("trial #{trialcount}/74")
    .style("color","grey")
    .style("font-size","80%");

while (Conditions[0]<10 || Conditions[1]<10 || Conditions[2]<10 || Conditions[3]<10 || Conditions[4]<10|| Conditions[5]<10|| Conditions[6]<14){
    selectCon();
    fillList();
    showList();
    TargsFound=input("Which targets did you see? Type S and/or T if they were present (capital sensitive!) Remember, there could have been no targets!", "TargsFound");
    if (con<6 && contains(TargsFound,targets[0])){
        Targ1[con]++;
    }
    if (con<6 && contains(TargsFound,targets[1])){
        Targ2[con]++;
    }
    trialcount++;
    b.text("trial #{trialcount}/74");
}

log(Targ1[0],"Targ1_0");
log(Targ1[1],"Targ1_1");
log(Targ1[2],"Targ1_2");
log(Targ1[3],"Targ1_3");
log(Targ1[4],"Targ1_4");
log(Targ1[5],"Targ1_5");
log(Targ2[0],"Targ2_0");
log(Targ2[1],"Targ2_1");
log(Targ2[2],"Targ2_2");
log(Targ2[3],"Targ2_3");
log(Targ2[4],"Targ2_4");
log(Targ2[5],"Targ2_5");

instruction("That concludes the experiment. Thank you for participating!");

function selectCon(){
    while (1){
        con= randint(0,6);
        if (con===6 && Conditions[con]<14){
            Conditions[con]++;
            break;
        }
        if (Conditions[con]<10){
            Conditions[con]++;
            break;
        }
    }
}

function fillList(){
    shuffle(distractors);
    shuffle(targets);
    for (var i=0; i<14; i++){
        list[i]=distractors[i];
    }
    LocT1 = randint(0,(13-con));
    list[LocT1]=targets[0];
    if (con<6){
        LocT2=LocT1+con+1;
        list[LocT2]=targets[1];
    }
}

function showList(){
    text("+");
    await(1000);
    clear();
    await(200);
    for (var i=0; i<14; i++){
        text(list[i]);
        await(100);
        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.

This experiment has no images

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 images

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 images
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.

This experiment has no images

Related Experiments