\documentclass[tikz,border=1cm]{standalone}
\begin{document}
\begin{tikzpicture}[nodes={draw,fill=gray!50,circle,inner sep=1pt}]
\foreach \x in {0,2,...,14}
{%
\begin{scope}[xshift=\x cm]
\node (a) at (0,0) {};
\node (b) at (1,2) {};
\node (c) at (2,0) {};
\draw (a) -- (b) -- (c);
\end{scope}
}
\end{tikzpicture}
\end{document}

用 tzplot 还能更短,但似乎没必要















问 「未完全解决」关于首尾不相连的foreach绘图的优化问题