Please help with randomizing/ shuffle positions in PsychoPY experiment

URL of experiment: OezkanRedo [PsychoPy]

Description of the problem: my group and I would like to conduct a study that has flashing probes of red and blue dots that are within a frame. Our frame is meant to look like a cloud of random dots that change per trial, and the measurement comes from moving your mouse and measure the distance the individual believes that probes have in comparison to the moving “frame of reference”

When running the code, we have a white framae appear sometimes, where as other times it runs the coded white cloud.

Another issue we are experiencing is with difficulties making the cloud have randomized positions of dots per trail. We want to look at what constitutes a frame which is why we’d like to have a range implemented per dot simuli that make up the frame. That way, we have different clouds moving in the same direction and we can see if the individual uses the different clouds as frames of reference.

Please help us!!!

IMAGE ONE IS NOT WHAT WE WANT, IMAGE TWO CLOUD IS WHAT WE WANT.