Five Stars and a Shear Line

Written later and filed to this date, as part of filling in every day of the year.

Five essays on this site take place after dark. A timer that fires before dawn. A volume that empties itself overnight. A fleet that works while its operator sleeps. A question asked three times in the small hours. A pipeline that ships in the dark. Near the end of each one there is a glyph that ships hidden in the page and is revealed by a script, rendered faint, a star you would scroll past unless you were looking for it.

Click it and the page records the click in your own browser, under one storage key, and nowhere else. There is no account and nothing is sent anywhere. The five stars, collected in constellation order, spell a word, and the word is a key: it opens one sealed page whose contents sit encrypted inside its own source, with the key derived from the word. The plaintext is not in the repository. Neither is the map linked from anything. The constellation page is unlisted on purpose: no navigation entry, no sitemap row, no command-palette hit, marked noindex. You arrive from a lit star, from the console command the site exposes to anyone who opens the developer tools, or from reading the source, which the page’s own comment counts as a sanctioned route.

The map is the part I like. Five points on a 520 by 300 canvas, drawn dim, and two polylines. The first joins four of them and closes: a parallelogram, which is the shape this site is named for and the shape it tilts into if you click its four corners in the right order. The second line runs from one top corner through the fifth star to the opposite bottom corner. That is the shear line, the diagonal a parallelogram has that a rectangle has not earned, and the fifth essay sits on it, at the point where the slant passes through. The page’s code calls the five positions the four corners of a parallelogram plus the star the shear passes through, and the geometry is written out as five coordinate pairs, no formula, so that anyone reading the source sees the shape before they see the trick.

All of it is progressive enhancement. With scripts off, the essays render without the glyph, the map renders without lit stars, and the sealed page is a sealed page. The data layer is fifty-four lines with no imports: the five records, a storage key, and a handful of small functions to find the star for a page, parse what the browser kept, serialize it back in constellation order, read out the letters collected so far, and say whether the set is complete. They are unit-tested, which is a strange thing to say about an easter egg, and the comment at the top of the file explains why it was allowed at all: every value in it is already public content, essay slugs and titles that render on the site, plus fiction. Nothing in it reads a private system.

The five essays went up between early June and early August. Four of them were published before anyone had planned a star; the fifth went up the same day the stars did. The after-dark theme was found in the first four afterwards, by reading the archive as a whole rather than one piece at a time, and the constellation is what that reading looked like once it was drawn.


← all writing