Trying to rotate a rectangle 45 degrees:
win = visual.Window(size=(1920, 1080), fullscr=True, screen=0, units = ‘pix’, monitor=‘testMonitor’, color=[-1,-1,-1], colorSpace=‘rgb’)
stim1 = visual.Rect(win, units = ‘cm’, width = 1, height = 5, pos = (0,0), fillColor = ‘red’, lineColor = ‘black’, ori = 45)
stim1.draw()
win.flip()
core.wait(2)
For some reason this distorts the images such that it becomes a diamond - any idea what’s going on?