Shared Scripts, Data, Stimuli, Files, and Demos

Nitzan assignment 3 Run Experiment

Nitzan assignment 3

Nitzan

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 n, e, z
    size = 40,
    b1 = main.addblock("left","top",25,25), 
    b2 = main.addblock("right","top",25,25), 
    b3 = main.addblock("left","bottom",25,25), 
    b4 = main.addblock("right","bottom",25,25);

b1.preload("duck1.jpg"); 
b2.preload("duck1.jpg"); 
b3.preload("duck1.jpg"); 
b4.preload("duck1.jpg"); 
b1.preload("goose1.jpg"); 
b2.preload("goose1.jpg"); 
b3.preload("goose1.jpg"); 
b4.preload("goose1.jpg"); 


image.await("preloading_completed"); 
          
          

main.setfontsize(70); 
text("Please confirm that you willingly participate in this experiment. You are aware that you can stop participating at any moment and without providing any reason. Your data will be stored anonymously, and no confidental data will be collected. To confirm, please click anywhere. If you do not consent, please close the window at this moment");
e = await('click');

var z = increase("subject_id","script");

console.log("Subject ID",z);

if (z%2 === 0)
{
    console.log(">>>>>> List variant A")


text("DEAR PARTICIPANT. IN THIS EXPERIMENT, FOUR PICTURES WILL APPEAR ON THE SCREEN. THREE PICTURES OF A DUCK AND ONE GOOSE PICTURE. YOU MUST CLICK ON THE GOOSE PICTURE. BE VERY ATTENTIVE AND CLICK ON THE PICTURE AS FAST AS YOU POSSIBLY CAN, OR ELSE THE PICTURE WILL DISAPPEAR. YOU CAN TRY THE TASK ONCE. CLICK ANYWHERE TO TRY.");
main.style("background-color","red");
main.style("body-background-color","red")
main.style("font-weight","bold");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-weight","normal");
await (2000);

waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} 

b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000));

text("YOU CAN NOW CLICK ANYWHERE TO START THE ACTUAL EXPERIMENT. YOU MUST BE VERY QUICK AND ATTENTIVE");
main.style("background-color","red");
main.style("body-background-color","red")
main.style("font-weight","bold");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-weight","normal");
await (2000);



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(1000)
}

if (n === 4)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(950)
}

if (n === 1)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(900)
}

if (n === 3)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(850)
}

if (n === 4)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(800)
}

if (n === 2)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));




waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(750)
}

if (n === 1)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(700)
}

if (n === 2)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(650)
}

if (n === 3)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(600)
}

if (n === 1)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(550)
}

if (n === 4)
{ 
     log(n,"goose.correct1");
}
else{
    log(n,"goose.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(1000);

text("Thank you for participating");
await(2000);
clear()



text("Dear participant. In the next section of the experiment, once again four pictures will appear at a time. This time, three goose pictures and one duck picture will appear. Please try to quickly press the duck picture as it appears. In the next screen, you can try the task once to better understand it. please click anywhere to proceed to the task.");
main.style("background-color","skyblue");
main.style("body-background-color","skyblue")
main.style("font-style","italic");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-style","normal");
await (2000);

waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
}

b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(1000);

text("Well done. Now that you understand the task better you can continue to the experiment. You may click anywhere to start the task. Thank you for your cooperation, and good luck.");
main.style("background-color","skyblue");
main.style("body-background-color","skyblue")
main.style("font-style","italic");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-style","normal");
await (2000);



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(1000)
}

if (n === 2)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(950)
}

if (n === 4)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(900)
}

if (n === 1)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(850)
}

if (n === 3)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(800)
}

if (n === 2)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(750)
}

if (n === 1)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(700)
}

if (n === 4)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(650)
}

if (n === 1)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(600)
}

if (n === 4)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(550)
}

if (n === 3)
{ 
     log(n,"duck.correct1");
}
else{
    log(n,"duck.incorrect1");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));

text("Thank you for participating");
await(2000);
clear()





}
else
{
    console.log(">>>>>> List variant B")
    
   text("Dear participant. In this experiment, four pictures will appear on the screen at a time, three goose pictures and one picture of a duck. Please try to quickly press the duck picture as it appears. In the next screen, you can try the task once to better understand it. Please click anywhere to proceed to the task.");
main.style("background-color","skyblue");
main.style("body-background-color","skyblue")
main.style("font-style","italic");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-style","normal");
await (2000);

waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
}

b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(1000);

text("Well done. Now that you understand the task better you can continue to the experiment. Please remember that you must press the pictures quickly. You may click anywhere to start the task. Thank you for your cooperation, and good luck.");
main.style("background-color","skyblue");
main.style("body-background-color","skyblue")
main.style("font-style","italic");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-style","normal");
await (2000);



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(1000)
}

if (n === 2)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(950)
}

if (n === 4)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(900)
}

if (n === 1)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(850)
}

if (n === 3)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(800)
}

if (n === 2)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(750)
}

if (n === 1)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(700)
}

if (n === 4)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(650)
}

if (n === 1)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(600)
}

if (n === 4)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(550)
}

if (n === 3)
{ 
     log(n,"duck.correct2");
}
else{
    log(n,"duck.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));

text("Thank you for participating");
await(2000);
clear()



text("IN THE NEXT SECTION OF THE EXPERIMENT, FOUR PICTURES WILL AGAIN APPEAR ON THE SCREEN AT A TIME. THIS TIME, THREE PICTURES OF A DUCK AND ONE GOOSE PICTURE. YOU MUST CLICK ON THE GOOSE PICTURE. BE VERY ATTENTIVE AND CLICK ON THE PICTURE AS FAST AS YOU POSSIBLY CAN, OR ELSE THE PICTURES WILL DISAPPEAR. YOU CAN TRY THE TASK ONCE. CLICK ANYWHERE TO TRY.");
main.style("background-color","red");
main.style("body-background-color","red")
main.style("font-weight","bold");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-weight","normal");
await (2000);

waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} 

b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(1000);

text("YOU CAN NOW CLICK ANYWHERE TO START THE ACTUAL EXPERIMENT. YOU MUST BE VERY QUICK AND ATTENTIVE");
main.style("background-color","red");
main.style("body-background-color","red")
main.style("font-weight","bold");
e = await('click');
clear ()
main.style("background-color","white");
main.style("body-background-color","white")
main.style("font-weight","normal");
await (2000);



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(1000)
}

if (n === 4)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(950)
}

if (n === 1)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(900)
}

if (n === 3)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(850)
}

if (n === 4)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(800)
}

if (n === 2)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));




waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(750)
}

if (n === 1)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("goose1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(700)
}

if (n === 2)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("goose1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("goose1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(650)
}

if (n === 3)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("goose1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("goose1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("duck1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(600)
}

if (n === 1)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("goose1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("duck1.jpg"); 

await(randint(1000,5000));



waitfor {
    b1.setimage("duck1.jpg"); 
    b1.await('click');
    n = 1;
} or {
    b2.setimage("duck1.jpg"); 
    b2.await('click');
    n = 2;
} or {
    b3.setimage("duck1.jpg"); 
    b3.await('click');
    n = 3;
} or {
    b4.setimage("goose1.jpg"); 
    b4.await('click');
    n = 4;
} or {
    await(550)
}

if (n === 4)
{ 
     log(n,"goose.correct2");
}
else{
    log(n,"goose.incorrect2");
}
b1.hideimage("duck1.jpg");
b2.hideimage("duck1.jpg");
b3.hideimage("duck1.jpg");
b4.hideimage("goose1.jpg"); 

await(2000);

text("Thank you for participating");
await(2000);
clear()



}





text("In this experiment, it was measured whether the colour, font, and phrasing of the task instructions affect task success. Your results were recorded anonymously. Thank you for participating. You may click anywhere to finish the experiment.")
await('click')
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.

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