mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-25 14:28:05 +02:00
Merge b14c64bda4
into 2286e6e383
This commit is contained in:
commit
f2e6e47d7e
1 changed files with 15 additions and 1 deletions
|
@ -10,6 +10,20 @@
|
||||||
% \draw[fill=gray!10] { { { decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
% \draw[fill=gray!10] { { { decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
||||||
% \draw[fill=gray!10] { { decorate{ decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
% \draw[fill=gray!10] { { decorate{ decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
||||||
% \draw[fill=gray!10] { decorate{ decorate{ decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
% \draw[fill=gray!10] { decorate{ decorate{ decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
||||||
\draw[fill=gray!10] decorate{ decorate{ decorate{ decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
%\draw[fill=gray!10] decorate{ decorate{ decorate{ decorate{ (0,0) -- (3,0) -- (1.5,-3) -- (0,0)}}}};
|
||||||
|
%(0,0) -- (3,0) -- (1.5,-3) -- (0,0) does not form an equilateral triangle, so the Koch curves along (3,0) -- (1.5,-3) and (1.5,-3) -- (0,0) are longer than they should be
|
||||||
|
|
||||||
|
%using shifts and rotations makes an equilateral triangle easily without dealing explicitly with any irrational coordinates
|
||||||
|
\draw decorate{ decorate{ decorate{ decorate{ (0,0) -- (1,0) }}}};
|
||||||
|
\begin{scope}[shift={(1,0)}]
|
||||||
|
\begin{scope}[rotate=-120]
|
||||||
|
\draw decorate{ decorate{ decorate{ decorate{ (0,0) -- (1,0) }}}};
|
||||||
|
\end{scope}
|
||||||
|
\end{scope}
|
||||||
|
\begin{scope}[shift={(-1,0)}]
|
||||||
|
\begin{scope}[rotate around={120:(1,0)}]
|
||||||
|
\draw decorate{ decorate{ decorate{ decorate{ (0,0) -- (1,0) }}}};
|
||||||
|
\end{scope}
|
||||||
|
\end{scope}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue