### Using a macro in the \path plot coordinates {} list - TeX

I'm trying to create a function that generates blobs with boundaries that have continuous curvature. As long as I pass individual coordinates to the function, everything works out well.\documentclass{article}\usepackage{tikz}\newcommand{\smoothplot}[3]{%% Smooth curve through 3 coordinates \path [draw=red, line width = 5, smooth cycle] plot coordinates {(#1) (#2) (#3)};}\begin{document}\begin{tikzpicture} \coordinate (A) at (0,0); \coordinate (B) at (5,5); \coordinate (C) at (2,-2); \smoothplot{A}{B}{C};\end{tikzpicture}\end{d...Read more