superject/notes/tilings.org
2021-01-29 01:14:25 +01:00

47 lines
1.3 KiB
Org Mode

# -*- mode: org; coding: utf-8; -*-
#+LaTeX_CLASS: zzkt-article
#+LateX_Header: \setcounter{secnumdepth}{0}
#+LateX_Header: \usepackage{tikz}
#+LateX_Header: \usetikzlibrary{penrose}
#+OPTIONS: toc:2
#+author: The S.P.A.C.E consortium
#+title: Process and Reality (tiling)
#+begin_export latex
\newpage
#+end_export
* some diagrams
#+ATTR_LATEX: :options [Alfred North Whitehead]
#+BEGIN_qf
There is urgency in coming to see the world as a web of interrelated processes of which we are integral parts, so that all of our choices and actions have consequences for the world around us.
#+END_qf
via https://github.com/loopspace/penrose/blob/master/penrose.tex
and/or https://tex.stackexchange.com/questions/61437/penrose-tiling-in-tikz
#+BEGIN_EXPORT latex
\foreach \tp/\lvl in {rtriangle/5, kite/5, kite/6}
{
\begin{tikzpicture}[
every Penrose tile/.style={draw},
Penrose tile/.code 2 args={
\pgfmathsetmacro\tint{100*#1/#2}
\pgfkeysalso{fill=cyan!\tint!magenta}
},
remember picture,
overlay,
scale=10
]
\coordinate (a) at (current page.center);
\begin{scope}[shift={(a)}]
\foreach[evaluate=\k as \mk using {\k+Mod(\k,2)},evaluate=\k as \ax using {Mod(\k,2) == 0 ? "T" : "t"}] \k in {0,...,9} {
\begin{scope}[rotate=\mk*36]
\PenroseDecomposition{\tp}{\lvl}{\ax}
\end{scope}
}
\end{scope}
\end{tikzpicture}
\newpage
}
#+END_EXPORT