Another possibility is to exploit the decorations libraries as Lionel suggested: one example presented will be based on decorations.markings while the other one on decorations.shapes.
Decorations.markings
The code:
\documentclass[png,tikz,border=3pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\pgfkeys{/tikz/.cd,
circle color/.initial=black,
circle color/.get=\circlecolor,
circle color/.store in=\circlecolor,
}
\tikzset{dotted pattern/.style args={#1 and #2}{
postaction=decorate,
decoration={
markings,
mark=
between positions 0 and 1 step #2
with
{
\fill[radius=#1,\circlecolor] (0,0) circle;
}
}
},
dotted pattern/.default={1pt and 1.5mm},
}
\begin{document}
\begin{tikzpicture}
\path [dotted pattern]
(0,0) -- (3,0) to [out=0, in=0, looseness=2] (3,-1);
\end{tikzpicture}
\begin{tikzpicture}
\path [circle color=red,
dotted pattern=1.5pt and 4mm]
(0,0) -- (3,0) to [out=0, in=0, looseness=2] (3,-1);
\end{tikzpicture}
\end{document}
provides:

and

Indeed, with the dotted pattern style you can customize the radius and the distance between the circles respectively while with the circle color key you may change the color.
Decorations.shapes
The code:
\documentclass[png,tikz,border=3pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.shapes}
\pgfkeys{/tikz/.cd,
circle color/.initial=black,
circle color/.get=\circlecolor,
circle color/.store in=\circlecolor,
}
\tikzset{dotted pattern/.style args={#1 and #2}{
decorate,
fill=\circlecolor,
decoration={
shape backgrounds,
shape=circle,
shape size=#1,
shape sep={#2, between center},
}
},
dotted pattern/.default={1pt and 1.5mm},
}
\begin{document}
\begin{tikzpicture}
\path [dotted pattern]
(0,0) -- (3,0) to [out=0, in=0, looseness=2] (3,-1);
\end{tikzpicture}
\begin{tikzpicture}
\path [circle color=red,
dotted pattern=1.5pt and 4mm]
(0,0) -- (3,0) to [out=0, in=0, looseness=2] (3,-1);
\end{tikzpicture}
\end{document}
The result are still the pictures shown above. In order to use \draw rather than \path, one might add a draw=none to the dotted pattern style.