OS: MacOS Mojave (10.14.3)
In the task, there is a stimulus in the background which is viewed through a moving slit.
This slit is made with two rectangles moving a set speed by updating its location ‘set every frame’ by time ’t’ (t is an internal time variable generated by psychopy?).
The slit should also move in every other direction (left to right, right to left, top to bottom, bottom to top and diagonally as well). As of now, I have made each direction into a separate routine.
I am trying to counterbalance the appearance of the routines (different slits directions) and the such as that order of routines/direction are not always the same.
- Randomize the routines:
From what I have read this is not possible with coder/builder.? Or at least is not the suggested method.
2)Update location from a condition file with location parameters for the rectangles such that I have a single routine.
When I try to load the condition file, I get an error - t is not defined.
I have also tried with other variables, for example, using Push in the location formula within the condition file and setting in the coder (Push = t) at ‘begin experiment’, ‘routine’ and ‘frame’ sections. It doesn’t work.