# how to avoid overlap between randomly placed dots [duplicate]

My question is different from that question. I'd like to randomly draw a number of dots with different colors and sizes, for example, 50 dots, 60 dots... It will be better if these dots can distribute in a circle.

    \documentclass{article}
\usepackage{tikz,pgfmath}
\begin{document}
\thispagestyle{empty}
\begin{pgfpicture}
\pgfmathdeclarerandomlist{color}{{red}{blue}{green}{yellow}{white}}
\foreach \a in {1,...,50}{
\pgfmathrandominteger{\x}{1}{200}
\pgfmathrandominteger{\y}{1}{200}
\pgfmathrandominteger{\r}{5}{10}
\pgfmathrandomitem{\c}{color}
\pgfpathcircle{\pgfpoint{+\x pt}{+\y pt}}{+\r pt}
\color{\c!40!white}
\pgfsetstrokecolor{\c!80!black}
\pgfusepath{stroke, fill}
}
\end{pgfpicture}
\end{document}


Example output: