/symmetry/ — verified upstream
Written 2026-09-09 from the upstream side, in response to SITEMAP.md’s note that the symmetry entry was “taken from CLAUDE.md and not verified in this pass.” The repos have now been checked and the deployed copies diffed.
SITEMAP.md’s row for /symmetry/ is wrong in two ways — see “Corrections”
below. Everything here was verified by reading the files, not from memory.
Source of truth
/Users/brian/Dropbox/CreatingSymmetry/CreatingSymmetry/PureScript/purescript-digital-art/
That directory lives inside the hilbert-and-turner repo
(git@github.com:chapmanbe/hilbert-and-turner.git, private; renamed from
CreatingSymmetry in August 2026). The path retains the old name because
CreatingSymmetry/ there means the Farris book, one of several projects in
that repo — not the repo itself.
What is actually deployed
Five files at symmetry/, plus the docs/ (1.2M) and gallery/ (19M) image
trees. Sizes as of 2026-09-09:
| Deployed | Bytes | Source | State |
|---|---|---|---|
app.js |
47,885 | dist/app.js |
byte-identical |
style.css |
4,731 | style.css |
byte-identical |
about.html |
18,901 | about.html |
byte-identical |
gallery.html |
8,943 | gallery.html |
byte-identical |
index.html |
4,412 | index.html |
one line differs, deliberately |
The index.html difference is the documented deploy step: the source says
<script src="dist/app.js">, the deployed copy says <script src="app.js">,
because the bundle sits beside the HTML here rather than in a dist/
subdirectory.
symmetry/assets/ was empty and referenced by nothing — another leftover of
the p5.js version — and was deleted on 2026-09-09. Nothing from that version
remains under symmetry/.
symmetry/README.md is tracked here and is not deployed output; it documents
the app for anyone browsing the repo. It described the p5.js version until it
was rewritten on 2026-09-09.
Corrections to SITEMAP.md
1. The stack is PureScript, not p5.js. app.js is an esbuild bundle of
PureScript output — it opens (() => { // output/Data.Int/foreign.js. There is
no p5.js and no math.js on the live page. The only external files
index.html loads are style.css and app.js, alongside a short inline
script that shows the custom-scheme field.
2. The upstream repo is chapmanbe/hilbert-and-turner, not
chapmanbe/CreatingSymmetry. That name no longer exists — the repo was renamed
in August 2026.
The “copy from there, don’t edit here” guidance is correct and worth keeping.
js/ and css/ are gone (deleted 2026-09-09)
symmetry/js/ (68K) and symmetry/css/ (8K) held the earlier p5.js version:
js/sketch.js js/complex-functions.js js/math-parser.js
js/symm-utils.js js/ui-controls.js css/style.css
Nothing referenced them — no page loads anything from either directory — so they were actively misleading: reading the directory rather than the HTML suggested a p5.js site, which is how SITEMAP.md’s row went wrong in the first place. The p5.js version is retired, and they have been deleted.
They were never committed, so there is no history to recover them from. That
was the deciding fact rather than an argument for keeping them: an earlier
draft of this note claimed the p5.js version was “already preserved in
symmetry-p5-backup/”, which was false — that directory had been deleted by
this project as serving no purpose. The deploy step in the upstream repo’s
CLAUDE.md that recreated it has been removed too, since by then it would
have copied the PureScript app into a directory named for p5.js.
Deployed versions of the current app are recoverable from this repo’s git history in the ordinary way; no sibling backup directory is involved.
Rebuilding
app.js is compiled, never hand-edited. Its PureScript sources:
src/Fourier.purs mu-g curve, fkm selective sum
src/Symmetry.purs the renderer
src/SymmetryColors.purs HSLA colour state machine
src/UI.purs + UI.js canvas and controls
src/Main.purs entry point
Build and deploy steps are in the upstream repo’s CLAUDE.md under “Deploying
to GitHub Pages” — bundle with spago/esbuild, patch the script path, copy the
changed files.
Note for the map
/symmetry/ is unrelated to https://chapmanbe.github.io/hilbert-and-turner/,
which is the same upstream repo’s own documentation site, published from
docs/ via GitHub Actions. Two sites, one repo, no shared files. The repo was
renamed partly to avoid that collision, since /symmetry/ here was already
taken by this app.