Shuffling location of paired images #2473
Unanswered
leighgreenberg
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @leighgreenberg, One way to do this by shuffling the order of the timeline variables so that sometimes Another option would be to add a third timeline variable like file: () => {
if(jsPsych.timelineVariable('stimulus1_left') == true){
return jsPsych.timelineVariable('stimulus1');
} else {
return jsPsych.timelineVariable('stimulus2');
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, in my experiment I have image pairs that must be shown on the screen together (e.g. Bob1.jpg and Bob2.jpg). Previously, I tied the image locations to the image name (e.g. Bob1 always appears on the left, Bob2 always appears on the right), like this:
I'm stuck on how to shuffle the location of the image pairs (i.e. Bob1 could be on the left or the right, and Bob2 would be in the other location) while ensuring the participant still sees the correct pairs. TIA for any insights!
Beta Was this translation helpful? Give feedback.
All reactions