mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
var calibration = {
|
|
timeline: [{
|
|
type: 'html-keyboard-response',
|
|
stimulus: `<div style="width:200px; height: 200px; background: white;"></div>`,
|
|
trial_duration: 200,
|
|
post_trial_gap: 100
|
|
}],
|
|
loop_function: function(data){
|
|
if(data.values()[0].response == ' '){
|
|
return false;
|
|
} else {
|
|
return true;
|
|
}
|
|
}
|
|
} |