From 5d6357c1430ecbf15ddc0b79fd0f934f280decf6 Mon Sep 17 00:00:00 2001 From: William Ngiam Date: Thu, 12 Sep 2024 14:23:13 +0930 Subject: [PATCH] updating stim position --- js/task.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/task.js b/js/task.js index 4e1fac8..8998c71 100644 --- a/js/task.js +++ b/js/task.js @@ -49,10 +49,10 @@ let canvas_offset_diff = 108 // change when adding response buttons below let item_size = 100 let item_locs = [ - [canvas_width / 2 + item_size * -3.25, canvas_height / 2 + 30], - [canvas_width / 2 + item_size * -2.25, canvas_height / 2 + 30], - [canvas_width / 2 + item_size * 1.75, canvas_height / 2 + 30], - [canvas_width / 2 + item_size * 2.75, canvas_height / 2 + 30] + [canvas_width / 2 + item_size * -3, canvas_height / 2 - 30], + [canvas_width / 2 + item_size * -2, canvas_height / 2 - 30], + [canvas_width / 2 + item_size * 1, canvas_height / 2 - 30], + [canvas_width / 2 + item_size * 2, canvas_height / 2 - 30] ]; // draws from the top-left // RANDOMIZATION