In my experiment, each stimulus consists of three lines with different orientations.
For example, one left line could be rotated 5° degrees to the left, the middle and right line both 5° degrees to the right. Lines are defined like this:
#COORDINATES FOR PERFECTLY VERTICAL LINES# #LEFT LINE# ori_LL_LOW=[(-8.5,-294.47),(-8.5,-274.33)] #CENTRAL LINE# ori_CL_LOW=[(0,-294.47),(0,-274.33)] #RIGHT LINE# ori_RL_LOW=[(8.5,-294.47),(8.5,-274.33)]
left_line=visual.Line(window, units=‘pix’, start=ori_LL_LOW, end=ori_LL_LOW, ori=-5, lineColor=‘black’, lineWidth=1)
central_line=visual.Line(window, units=‘pix’, start=ori_CL_LOW, end=ori_CL_LOW, ori=5, lineColor=‘black’, lineWidth=1)
right_line=visual.Line(window, units=‘pix’, start=ori_RL_LOW, end=ori_RL_LOW, ori=5, lineColor=‘black’, lineWidth=1)
However, when I use the ori attribute in this way, then the horizontal alignment of my stimulus disappears, because it seems that all lines are rotated around the centre of the screen instead of around its own centre:
So, it want to draw a stimulus like this (which was done by changing the start and end positions manually):
Is this achievable by using the orientation attribute?