ElementArrayStim
¶This stimulus class defines a field of elements whose behaviour can be independently controlled. Suitable for creating ‘global form’ stimuli or more detailed random dot stimuli. This is a lazy-imported class, therefore import using full path from psychopy.visual.elementarray import ElementArrayStim when inheriting from it.
This stimulus can draw thousands of elements without dropping a frame, but in order to achieve this performance, uses several OpenGL extensions only available on modern graphics cards (supporting OpenGL2.0). See the ElementArray demo.
a Window
object (required)
If None then the current units of the
Window
will be used.
See Units for the window and stimuli for explanation of other options.
number of elements in the array.