[open] Visual motion test: define motion path of two vertical lines (frame by frame)
Hi!
I am trying to create a visual event where two (parallel) vertical lines move from side to side with a variable, sinusoidal motion path (I would want to vary the degree of motion parameter from trial to trial). Is there a way to create such an event with OpenSesame (sketchpad plus some kind setPos frame by frame)? I am assuming this might be something that has to be scripted in but as I am new to python, I would be so grateful for any help you could offer.
Thanking you in advance,
Merle

Comments
hi,
maybe take a look at this and define a loop to put the lines in motion:
http://osdoc.cogsci.nl/python/canvas/
best,
daniel
Hi Merle,
There is a plug-in to present a sinusoidally moving dot, for which the code can be found here. This basically already does what you want, but with a different kind of stimulus. You could try editing the code yourself, and of course: ask here if you get stuck!
Good luck!
Edwin