latex-pictures

A collection of TikZ drawings and other images 🖌️

rigid-motion-rotation.tikz (493B)

 1 % This picture represents the fact that rotations are rigid motions
 2 % Copyright Pablo (C) 2021
 3 \begin{tikzpicture}[scale=1.25]
 4   % The axis
 5   \draw (-1, 0) -- (1, 0) (0, -1) -- (0, 1);
 6 
 7   % The right square
 8   \draw (-.5, .5) -- ++(1, 0) -- ++(0, -1) -- ++(-1, 0) -- cycle;
 9 
10   % The rotated square
11   \begin{scope}[rotate=-45]
12     \draw (-.5, .5) -- ++(1, 0) -- ++(0, -1) -- ++(-1, 0) -- cycle;
13   \end{scope}
14 
15   % The rotation
16   \draw[->] (90:.75) ++(.25, .25) arc (90:0:.75);
17 \end{tikzpicture}