aboutsummaryrefslogtreecommitdiff
path: root/hat.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2023-04-10 14:56:34 +0100
committerSimon Tatham <anakin@pobox.com>2023-04-10 14:59:05 +0100
commit6fb890e0ea20a3c366ffd2de45d26a0c1c454dd6 (patch)
tree1672404818caa3f82491962ad4b4ba855414d46a /hat.c
parent71cf891fdc3ab237ecf0e5d1aae39b6c9fe97a4d (diff)
downloadpuzzles-6fb890e0ea20a3c366ffd2de45d26a0c1c454dd6.zip
puzzles-6fb890e0ea20a3c366ffd2de45d26a0c1c454dd6.tar.gz
puzzles-6fb890e0ea20a3c366ffd2de45d26a0c1c454dd6.tar.bz2
puzzles-6fb890e0ea20a3c366ffd2de45d26a0c1c454dd6.tar.xz
Reference my just-published article about aperiodic tilings.
In commit 8d6647548f7d005 I added the Hats grid type to Loopy, and mentioned in the commit message that I was very pleased with the algorithm I came up with. In fact, I was so pleased with it that I've decided it deserves a proper public writeup. So I've spent the Easter weekend producing one: https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/aperiodic-tilings/ In this commit I adjust the header comments in both penrose.c and hat.c to refer to the article (replacing a previous comment in penrose.c to a much less polished page containing a copy of my jotting-grade personal notes that I sent James Harvey once). Also, added some code to hatgen.c to output Python hat descriptions in a similar style to hat-test, which I used to generate a couple of the more difficult diagrams in the new article, and didn't want to lose.
Diffstat (limited to 'hat.c')
-rw-r--r--hat.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/hat.c b/hat.c
index dbb8f41..176d1f0 100644
--- a/hat.c
+++ b/hat.c
@@ -2,10 +2,17 @@
* Code to generate patches of the aperiodic 'hat' tiling discovered
* in 2023.
*
- * auxiliary/doc/hats.html contains an explanation of the basic ideas
- * of this algorithm, which can't really be put in a source file
- * because it just has too many complicated diagrams. So read that
- * first, because the comments in here will refer to it.
+ * This uses the 'combinatorial coordinates' system documented in my
+ * public article
+ * https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/aperiodic-tilings/
+ *
+ * The internal document auxiliary/doc/hats.html also contains an
+ * explanation of the basic ideas of this algorithm (less polished but
+ * containing more detail).
+ *
+ * Neither of those documents can really be put in a source file,
+ * because they just have too many complicated diagrams. So read at
+ * least one of those first; the comments in here will refer to it.
*
* Discoverers' website: https://cs.uwaterloo.ca/~csk/hat/
* Preprint of paper: https://arxiv.org/abs/2303.10798