Hello,
I’m wondering how I can have 3 different sizes for my image stimuli. I have 3 different images per trial, all presented simultaneously and horizontally on the screen (in a row). I would like each image to have 3 different sizes, all of which will be randomly chosen per each trial.
On my trial routine, I have 3 image components, each represented the left, middle, and right image in the row.
Thanks so much in advance!
Hello Christina
you can use variables for width and height of each image-component and set the parameter to set every repeat
For example in the Begin routine tab (you might need to initalize the variables when running the experiment online:
width = [0.1, 0.15, 0.2]
height = [0.1, 0.15, 0.2]
shuffle(width)
shuffle(height)
width1 = width.pop()
width2 = width.pop()
width3 = width.pop()
height1 = height.pop()
height2 = height.pop()
height3 = height.pop()
Note that this approach randomises width and height independently. I have chosen arbitrary numbers for width and height. You should adapt them for your purpose.
Best wishes Jens
Hi Jens, thank you so much for your input. This has worked!