| Reference | Downloads | Github

Random Dot Kinematogram of different colors

Hello everyone, I’m trying to present a RDK stimulus with dots of different colors but haven’t found a great solution so far.

In the simplest example I could have a RDK of 100 dots, 50 of which are white and 50 black. As there doesn’t seem to be a way to give a single RDK multiple color values, the only solution I’ve found so far is to present two different RDK stimuli with two different colors, in the same field size on the screen. However this doesn’t seem like an ideal solution, especially because dots of the two RDK might be overlapping as far as I know.

Am I missing something here? Is there an actual way to give more than one color value to a single RDK stimulus?

I don’t think it is possible to do this easily using DotStim. You can do it using an ElementArrayStim, but you would need to code the RDK details (updating, etc.).

Thanks a lot for the suggestion! I actually didn’t know about ElementArrayStim, but it seems like with a bit of work it could just be what I need.