Optimizing for rapid presentation of several stimuli at high refresh rates

Ok, the ElementArrayStim class looks just like what I was looking for. I have several questions about it after checking the example and toying a bit with the parameters:

  • How to make the elements be solid-colored rectangles? The ‘mask’ parameter accepts some strings but I could not find a list of accepted parameters

  • Is there a particular reason while the class does not accept strings as color parameters? I get the following error when I try:

AttributeError: 'ElementArrayStim' object has no attribute '_texID'

Thank you very much!