aboutsummaryrefslogtreecommitdiff
path: root/Info/9/3/Planet/algorithmik/for/spirale.tikz
blob: ff6ab15765a84231d91510761d406c636c2d167e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
\pgfmathsetmacro{\step}{2.6}

\begin{tikzpicture}
  \node{\includegraphics{img/marken.png}};
  \node[opacity=0.35, scale=6] at (-1.2, 0) {\includegraphics{img/rover.png}};
  \coordinate (start) at (-1.3, 0);
  \draw[line width=3pt, ->]
    (start) --
    ($(start) + (\step, 0)$) --
    ($(start) + (\step, -\step)$) --
    ($(start) + (0, -\step)$) --
    ($(start) + (-\step, -\step)$) --
    ($(start) + (-\step, 0)$) --
    ($(start) + (-\step, \step)$) --
    ($(start) + (-\step, \step)$) --
    ($(start) + (0, \step)$) --
    ($(start) + (\step, \step)$) --
    ($(start) + (2*\step, \step)$) --
    ($(start) + (2*\step, 0)$) --
    ($(start) + (2*\step, -\step)$) --
    ($(start) + (2*\step, 2*-\step)$) --
    ($(start) + (\step, 2*-\step)$) --
    ($(start) + (0, 2*-\step)$) --
    ($(start) + (-\step, 2*-\step)$) --
    ($(start) + (2*-\step, 2*-\step)$) --
    ($(start) + (2*-\step, -\step)$) -- 
    ($(start) + (2*-\step, 0)$) -- 
    ($(start) + (2*-\step, \step)$) --
    ($(start) + (2*-\step, 0)$) --
    ($(start) + (2*-\step, \step)$) --
    ($(start) + (2*-\step, 2*\step)$) --
    ($(start) + (-\step, 2*\step)$) --
    ($(start) + (0, 2*\step)$) --
    ($(start) + (\step, 2*\step)$) --
    ($(start) + (2*\step, 2*\step)$) --
    ($(start) + (3*\step, 2*\step)$);
\end{tikzpicture}