I have made the following figure in Tikzpicture:
\newcommand{\yggDra}[3]{
\draw[ultra thick, xscale=#1, yscale=#2, rotate=#3] ({cos(-44.8)*3.92},{sin(-44.8)*3.92})
.. controls ({cos(-55)*4},{sin(-55)*4}) and ({cos(-75)*2.5},{sin(-75)*2.5}) .. ({cos(-89)*3.9},{sin(-89)*3.9})
.. controls ({cos(-75)*4.2},{sin(-75)*4.2}) and ({cos(-60)*3.1},{sin(-60)*3.1}) .. ({cos(-44)*3.2},{sin(-44)*3.4})
.. controls ({cos(-55)*4.5},{sin(-55)*4.5}) and ({cos(-75)*3.7},{sin(-75)*3.7}) .. ({cos(-87)*3.3},{sin(-87)*3.3}) .. controls ({cos(-90)*3.26},{sin(-90)*3.26}) .. ({cos(-93)*3.3},{sin(-93)*3.3});
}
\newcommand{\whiteSpace}[1]{
\draw[white, ultra thick, rotate=#1]
(0.4,-3.308) -- (0.6,-3.35)
(0.3,-3.395) -- (0.5,-3.45)
%(1.1,-3.41) -- (1.25,-3.417)
%(0.9,-3.52) -- (1.25,-3.526)
(1.11,-3.41) -- (0.99,-3.52)
(1.29,-3.41) -- (1.155,-3.52)
(2.24,-2.9) -- (2.2,-3.0)
(2.358,-2.89) -- (2.32,-3.0)
(1.55,-2.91) -- (1.75,-2.9)
(1.45,-3.025) -- (1.75,-3.0127)
;
\draw[white, ultra thick, rotate=#1, xscale=-1]
(0.4,-3.308) -- (0.6,-3.35)
(0.3,-3.395) -- (0.5,-3.45)
%(1.1,-3.41) -- (1.25,-3.417)
%(0.9,-3.52) -- (1.25,-3.526)
(1.11,-3.41) -- (0.99,-3.52)
(1.29,-3.41) -- (1.155,-3.52)
(2.24,-2.9) -- (2.2,-3.0)
(2.358,-2.89) -- (2.32,-3.0)
(1.55,-2.91) -- (1.75,-2.9)
(1.45,-3.025) -- (1.75,-3.0127)
;
}
\begin{tikzpicture}
\yggDra{1}{1}{0}
\yggDra{-1}{1}{0}
\yggDra{1}{-1}{0}
\yggDra{-1}{-1}{0}
\yggDra{1}{-1}{90}
\yggDra{-1}{-1}{-90}
\yggDra{1}{-1}{-90}
\yggDra{-1}{-1}{90}
\whiteSpace{0}
\whiteSpace{90}
\whiteSpace{180}
\whiteSpace{270}
\end{tikzpicture}
To make the line breaks, so it looks like the line goes over and under itself, I have simply added some white lines on top. But I really don't like this solution, and I was wondering, if there was a easy way for the line to STOP and START again at specific points while still following the curve I have already made?
Full Code in StandAlone Document (MWE):
\documentclass[a0paper,titlepage,11pt]{standalone}
% Usepackage:
\usepackage{pgfplots}
\usepackage{allrunes}
% Commands:
\newcommand{\yggDra}[3]{
\draw[ultra thick, xscale=#1, yscale=#2, rotate=#3] ({cos(-44.8)*3.92},{sin(-44.8)*3.92})
.. controls ({cos(-55)*4},{sin(-55)*4}) and ({cos(-75)*2.5},{sin(-75)*2.5}) .. ({cos(-89)*3.9},{sin(-89)*3.9})
.. controls ({cos(-75)*4.2},{sin(-75)*4.2}) and ({cos(-60)*3.1},{sin(-60)*3.1}) .. ({cos(-44)*3.2},{sin(-44)*3.4})
.. controls ({cos(-55)*4.5},{sin(-55)*4.5}) and ({cos(-75)*3.7},{sin(-75)*3.7}) .. ({cos(-87)*3.3},{sin(-87)*3.3}) .. controls ({cos(-90)*3.26},{sin(-90)*3.26}) .. ({cos(-93)*3.3},{sin(-93)*3.3});
}
\newcommand{\whiteSpace}[1]{
\draw[white, ultra thick, rotate=#1]
(0.4,-3.308) -- (0.6,-3.35)
(0.3,-3.395) -- (0.5,-3.45)
(1.11,-3.41) -- (0.99,-3.52)
(1.29,-3.41) -- (1.155,-3.52)
(2.24,-2.9) -- (2.2,-3.0)
(2.358,-2.89) -- (2.32,-3.0)
(1.55,-2.91) -- (1.75,-2.9)
(1.45,-3.025) -- (1.75,-3.0127)
;
\draw[white, ultra thick, rotate=#1, xscale=-1]
(0.4,-3.308) -- (0.6,-3.35)
(0.3,-3.395) -- (0.5,-3.45)
(1.11,-3.41) -- (0.99,-3.52)
(1.29,-3.41) -- (1.155,-3.52)
(2.24,-2.9) -- (2.2,-3.0)
(2.358,-2.89) -- (2.32,-3.0)
(1.55,-2.91) -- (1.75,-2.9)
(1.45,-3.025) -- (1.75,-3.0127)
;
}
\begin{document}
\begin{tikzpicture}
\yggDra{1}{1}{0}
\yggDra{-1}{1}{0}
\yggDra{1}{-1}{0}
\yggDra{-1}{-1}{0}
\yggDra{1}{-1}{90}
\yggDra{-1}{-1}{-90}
\yggDra{1}{-1}{-90}
\yggDra{-1}{-1}{90}
\whiteSpace{0}
\whiteSpace{90}
\whiteSpace{180}
\whiteSpace{270}
\end{tikzpicture}
\end{document}