Changed the stim, sort_area, and canvas sizes in the free-sort demo for touch devices.

This commit is contained in:
Daiichiro Kuroki 2020-11-26 10:25:01 +09:00
parent 4c7c7b8ac3
commit efac416602

View File

@ -12,8 +12,10 @@
var trial_1 = {
type: 'free-sort',
stimuli: ['img/happy_face_1.jpg','img/happy_face_3.jpg','img/sad_face_2.jpg','img/sad_face_4.jpg'],
stim_height: 150,
stim_width: 200,
stim_height: 120,
stim_width: 160,
sort_area_height: 500,
sort_area_width: 500,
prompt: 'Please group similar expressions together. '
};
@ -24,8 +26,8 @@
stim_width: 160,
prompt: '<p>Arrange the faces.</p>',
prompt_location: "below",
sort_area_height: 500,
sort_area_width: 600,
sort_area_height: 400,
sort_area_width: 500,
sort_area_shape: "square",
scale_factor: 1.2,
border_color_in: '#DCDCDC',
@ -54,7 +56,7 @@
ctx.drawImage(img3, 300, 100, 90, 90);
}, false);
},
canvas_size: [700,700],
canvas_size: [500,500],
prompt: "Memorize the image locations (5s).",
choices: jsPsych.NO_KEYS,
trial_duration: 5000
@ -69,6 +71,8 @@
prompt: '<p>Where were the images?</p>',
prompt_location: 'below',
sort_area_shape: "square",
sort_area_height: 500,
sort_area_width: 500,
change_border_background_color: false,
border_width: 5,
counter_text_unfinished: "Not done yet...",