Hello,
I'm trying to program a grating oscillating within a circular aperture and I've found the DriftDemo2 in PsychDemos particularly useful. However, I noticed that the dstRect is put in the centre of the screen using CenterRect. I tried changing the position of the aperture by redefining dstRect (i.e. giving new coordinates) but then the screen just turned blank. Would anyone give me some advice what I should have done if I want the drifting grating to appear not the centre, but elsewhere on the screen?
Thank you very much.
Best,
Pik Ki
I'm trying to program a grating oscillating within a circular aperture and I've found the DriftDemo2 in PsychDemos particularly useful. However, I noticed that the dstRect is put in the centre of the screen using CenterRect. I tried changing the position of the aperture by redefining dstRect (i.e. giving new coordinates) but then the screen just turned blank. Would anyone give me some advice what I should have done if I want the drifting grating to appear not the centre, but elsewhere on the screen?
Thank you very much.
Best,
Pik Ki