You can write the equations of an n-ellipse (polyellipse, egglipse, k-ellipse, etc...), where points $(x_1,y_1), (x_2, y_2)...,$ are foci:
$$\sqrt{(x-x_1)^2+(y-y_1)^2}+\sqrt{(x-x_2)^2+(y-y_2)^2}+\sqrt{(x-x_3)^2+(y-y_3)^2}+\sqrt{(x-x_4)^2+(y-y_4)^2}...=d$$
For two points, the curve can be the same as an ellipse drawn with two pins and a loop of string (see fig. 1).
However, with more points, the curve seems to be the same as James Clerk Maxwell's construction method (see fig. 2)
You can also create various ovals by adding points to the loop and pins method shown in the first figure (see also fig. 3).
What I want to know is how to construct equations for curves of the kind shown in fig. 3 given any number of points (akin to the above equation). I'd also be interested in knowing if there's anything published on this type of curve. Thanks.




The figure below is a reproduction of your fig. 3: $ABCDEF$ are the pins and the string is held tight by the pencil at $P$.
As long as $P$ lies between the extensions of lines $FA$ and $BA$ we have that $PF+PB$ is constant. Hence $P$ describes an arc $HI$ of the ellipse with foci $F$ and $B$ (blue in the figure).
After $I$, point $P$ lies between the extensions of $FA$ and $CB$, with $PA+PB$ a constant. In this case $P$ describes an arc $IJ$ of the ellipse with foci $A$ and $B$ (orange in the figure). Note that the ellipses are tangent at $I$, because they share the same normal (the bisector of $\angle FIB=\angle AIB$).
After $J$, point $P$ lies between the extensions of $FA$ and $DC$, with $PA+PC$ a constant. In this case $P$ describes an arc of the ellipse with foci $A$ and $C$ (not shown in the figure), and so on.
In summary, the curve is a patch of 12 elliptical arcs, each arc being tangent with the preceding and following one.