What did you try to make it work?:
in my trial,there are 1 target,and 11 distract1,11 distract2.I want they randomly placed on the display based on an invisible 6 by 6 grid occupying an area of 25 cm × 15 cm on the center of screens, with a total of 25 possible locations. So there are totally 9 kinds position(distance to the center point). Jitter of up to 25 pixels allowed the position of the stimuli to vary slightly inside each grid position.
Begin experiment tab:
x_pos=[-12.5,-7.5,-2.5,2.5.7.5,12.5]
y_pos=[-7.5,-4.5,-1.5,1.5,4.5,7.5]
Begin Routine tab:
shuffle(x_pos)
shuffle(y_pos)
I use Polygon define target and distract.
target position:(x_pos[0],y_pos[0])(set every repeat)
distract position:(x_pos[1],y_pos[1]),(x_pos[2],y_pos[2])…
What are you trying to achieve?:
How to make sure target appear on 9 kinds possible position,in different trial.
How to Jitter of up to 25 pixels?