function dots(n, nDots)
% Draw nDots random dots in n concentric circles

% Set up figure window
close all;  figure(1);  axis('equal');  axis([-n n -n n])

% Generate dots
for r= 1:n
    % in area between circles with radii r and (r-1)
    for count= 1:nDots
        theta= randDouble(0, 360);
        radius= randDouble(r-1, r);
        [x, y]= polar2xy(radius, theta);
        hold on
        drawColorDot(x, y, mod(r,2));
        hold off
        pause(0.05);
    end
end
