Skip to content

Instantly share code, notes, and snippets.

@b-mehta
Created November 7, 2018 22:42
Show Gist options
  • Save b-mehta/c707ada0a0bbf51a3ef633bc41e3191d to your computer and use it in GitHub Desktop.
Save b-mehta/c707ada0a0bbf51a3ef633bc41e3191d to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{center}
\begin{tikzpicture}[scale=0.7]
\begin{scope}
\draw (-1,0) to[bend left=40] (1,0);
\draw (-1.2,0.15) to[bend right=40] (1.2,0.15);
\draw ( 3,0) to[bend left=40] (5,0);
\draw ( 2.8,0.15) to[bend right=40] (5.2,0.15);
\draw ( 7,0) to[bend left=40] (9,0);
\draw ( 6.8,0.15) to[bend right=40] (9.2,0.15);
\draw plot [smooth cycle, tension=0.7] coordinates {
(- 2.2, 0 )
(- 1.5, 1 )
( 0 , 1.4)
( 2 , 1.1)
( 4 , 1.4)
( 6 , 1.1)
( 8 , 1.4)
( 9.5, 1 )
( 10.2, 0 )
( 9.5,-1 )
( 8 ,-1.4)
( 6 ,-1.1)
( 4 ,-1.4)
( 2 ,-1.1)
( 0 ,-1.4)
(- 1.5,-1 )
};
\end{scope}
\node [rotate=30] at ( 2, 0.6) {\scriptsize$\times$};
\node [rotate=30] at (4.6, 0.76) {\scriptsize$\times$};
\node [rotate=30] at (8.2, 0.9) {\scriptsize$\times$};
\end{tikzpicture}
\end{center}
\begin{center}
\begin{tikzpicture}
\draw (-1,1) to[out=-45,in=0] (0,-2) to[out=180,in=-135] (1,1);
\node [inner sep=1pt, fill=black, circle] at (0,-0.2922) {};
\end{tikzpicture}
\end{center}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment