Set absolute stimuli size


Author
Message
lukasg
lukasg
Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)Partner Member (633 reputation)
Group: Forum Members
Posts: 35, Visits: 103
Hello all,

For my experiment it is important that stimuli are of the same exact size, irrespective of the screen they are being presented on. I am hesitant to set the canvas size to a particular value because it requires me to set a minimum screen size for eligible participants. Instead, I was hoping to set the size of my stimuli, as well as the distance between them. My attempt looks as follows:

<list t_x>
/ items = (display.getmmx(display.width/2, 1) - 10mm, display.getmmx(display.width/2, 1), display.getmmx(display.width/2, 1) + 10mm)
display.getmmx(pixels, monitor)
display.getmmx(pixels, monitor)
/ poolsize = 60
</list>

<text t>
/ items = targets
/ select = values.t
/ hposition = values.t_x
/ txcolor = values.t_color
/ erase = false
</text>



The above code is not doing as I intended (one letter position in the centre, one 10mm to the left, one 10mm to the right). How can I achieve this?

All the best,
Lukas
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
lukasg - 3 Years Ago
lukasg - 3 Years Ago
Dave - 3 Years Ago
lukasg - 3 Years Ago
                     The getmmx() function allows you to specify the monitor....
Dave - 3 Years Ago
                         But there is no way of selecting the screen the experiment is being...
lukasg - 3 Years Ago
                             The experiment will run on what the respective user has set as their...
Dave - 3 Years Ago
lukasg - 3 Years Ago
Dave - 3 Years Ago
                         I have attached the entire script. Changing to canvaswidth did not...
lukasg - 3 Years Ago
                             I managed to fix it. Thanks for your help.
lukasg - 3 Years Ago
                                 In the script you attached, you had values.center = 1mm *...
Dave - 3 Years Ago
                                     Yes indeed, that's what I noticed as well- thanks.
lukasg - 3 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search