[open] When Using canvas in OpenSeseame,what is the central coordinate(x,y value) of the screen.
Hi Guys.
I want display fixation dots around central points with some amount of distance.
But I could not find what is exact central coordinate of the screen.
It seems like somewhere x=500~600 y=300~400
Or is it depend on what kind of monitor that I am using?
Then, how can I find it?
Thanks
Seo
Comments
Hi Seo,
It depends on which version of Opensesame you are running. In OS 3.0.x, it is quite simple. Here, the middle is always
(0,0)(unless the optionUniform coordinatesis disabled). In older versions of Opensesame (2.9.x and older), the center of the canvas depends on the size of the window you are using. Nevertheless, finding the center is rather easy with the commandscanvas.xcenter()andcanvas.ycenter(), see here.I hope this helps.
Eduard