Randomising Dot Direction of visual.DotStim

Is there a way to set the direction of each individual dot in a 100-dot DotStim according to a set distribution (e.g., creating a “direction array” of len=100)? At the moment, the “dir” kwarg only accepts a single float value for all the dots.