aboutsummaryrefslogtreecommitdiff
path: root/Info/9/3/Planet/algorithmik/for/spirale.tikz
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-05-07 19:44:09 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-05-07 19:44:09 +0200
commit5de9b9f19515b5fc5bb5519ccccd5d5f6fc54165 (patch)
tree8959c3b0875a8edebc9aca57f37603ba0afdeb12 /Info/9/3/Planet/algorithmik/for/spirale.tikz
parent7e6e89e3ed0736686e157bc43171a540337fe763 (diff)
downloadunterricht-5de9b9f19515b5fc5bb5519ccccd5d5f6fc54165.tar.gz
unterricht-5de9b9f19515b5fc5bb5519ccccd5d5f6fc54165.zip
planet: add for loop material
Diffstat (limited to 'Info/9/3/Planet/algorithmik/for/spirale.tikz')
-rw-r--r--Info/9/3/Planet/algorithmik/for/spirale.tikz37
1 files changed, 37 insertions, 0 deletions
diff --git a/Info/9/3/Planet/algorithmik/for/spirale.tikz b/Info/9/3/Planet/algorithmik/for/spirale.tikz
new file mode 100644
index 00000000..ff6ab157
--- /dev/null
+++ b/Info/9/3/Planet/algorithmik/for/spirale.tikz
@@ -0,0 +1,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}