How to create a continuous visual.Window background/wrapping of background?
问题 For instance, in my case, a cluster of random dots derived from ElementArrayStim spreaded across the stimulus window with the cluster centred on (0,0) moving at x=5. Eventually, each of these dots will hit the window's right boundary. How do I make these dots reappear on the left window boundary in a smooth transition? 回答1: The strategy is to look into psychopy.visual.ElementArrayStim.xys which is an Nx2 numpy.array of the current coordinates of all N elements. You can get the N indicies