答案1
我认为这已经很接近了。
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[yscale=3]
\draw[double=yellow,double distance=2pt,line join=round,looseness=3]
(0,0)
-- (1,0)
to[out=70,in=-10,looseness=1] (.5,.5)
to[out=10,in=-10] (.25,.75)
to[out=10,in=0] (0,1)
to[out=180,in=170] (-.25,.75)
to[out=190,in=170] (-.5,.5)
to[out=190,in=120,looseness=1] (-1,0)
-- cycle;
\end{tikzpicture}
\end{document}
答案2
只是为了好玩,用 pstricks
答案3
\documentclass[pstricks,border=5]{standalone}
\usepackage{pstricks}
\def\fig#1#2{\pscustom[arrows=c-c,linewidth=#1,linecolor=#2,linejoin=1]{%
\psline(-4.9,0)(4.9,0)
\psarc(0,1){5}{-10}{73}
\psarc(0,7.5){2.15}{-50}{70}
\psarc(0,11){1.6}{-60}{240}
\psarc(0,7.5){2.15}{110}{230}
\psarc(0,1){5}{107}{190}}}
\begin{document}
\begin{pspicture}(-6,-1)(6,13)
\fig{6mm}{black}
\fig{5mm}{yellow}
\end{pspicture}
\end{document}