latex-pictures

A collection of TikZ drawings and other images 🖌️

rigid-motion-reflections.tikz (745B)

 1 % This picture represents the fact that reflections are rigid motions
 2 % Copyright Pablo (C) 2021
 3 \begin{tikzpicture}
 4   % The first square
 5   \begin{scope}[shift={(1.5, -1)}]
 6     \draw (0, 0) -- ++( 2, 0)
 7                  -- ++( 0, 2)
 8                  -- ++(-2, 0)
 9                  -- cycle;
10 
11     \draw[thick] (0, 2) -- (1, 0);
12     \draw[thick] (1, 2) -- (2, 0);
13     \draw (0, 0) -- (2, 2);
14   \end{scope}
15 
16   \draw (1, 0) node{$\leadsto$};
17 
18   % The seccond square
19   \begin{scope}[shift={(-1.5, -1)}]
20     \draw (0, 0) -- ++( 2, 0)
21                  -- ++( 0, 2)
22                  -- ++(-2, 0)
23                  -- cycle;
24 
25     \draw[thick] (0, 0) -- (1, 2);
26     \draw[thick] (1, 0) -- (2, 2);
27     \draw (0, 2) -- (2, 0);
28   \end{scope}
29 \end{tikzpicture}