I’m trying to update a stimulus (probe) orientation with a button press, but more basically i can’t seem to get it to update the stimulus at all with basic commands. I’m doing this from a bufferimagestim, and code is below. It’s super basic, and doesn’t seem to be coming up with any error it just isn’t doing it… I have tried it with
stimulus.setOri(***) function but doesn’t work either, oops.
any help would be hugely appreciated, and do let me know if just being a noob…
from psychopy import visual, core screen = visual.Window(size = (900,700),units='deg', colorSpace='rgb', fullscr = False, monitor = "testMonitor") probecirc = visual.Circle(screen, radius = 2.0, edges = 100, pos = (0.0, 0.0) , lineWidth = 5, lineColor = (0.25,0.25,0.25)) prbend = visual.Line(screen, start = (1.8, 0.0), end = (2.2,0.0), lineWidth = 3, lineColor = (-1.0,-1.0,-1.0)) stimlist = [probecirc, prbend] probe = visual.BufferImageStim(screen, stim = stimlist, rect = (-1,1,1,-1)) core.wait(1.00) #this is just so it happens before making everything stop, so its ready to draw/flip straight away probe.draw() screen.flip() core.wait(1.0) probe.ori += 15 probe.draw() screen.flip()