Lexicon / Scroll-driven · 5 of 13

05 / Scroll-driven

Horizontal Scroll Section

You scroll down; the content travels sideways. A list you ranked becomes a row you compare across.

The end of the tapestry

The last scenes of the Bayeux Tapestry, embroidered in England in the years after the Conquest: Duke William lifts his helmet to show his men he is alive, the English fall around their king, Harold is killed, and the English turn and run. Scroll down: the cloth travels sideways, the way it is read.

The Bayeux Tapestry · the Battle of Hastings, 14 October 1066

  1. … BACULU[M] TENENS CONFORTAT PUEROSBishop Odo, holding a club, gives strength to the boys
  2. HIC EST WILLEL[MUS] DUX · E[USTA]TIUSHere is Duke William · Eustace
  3. HIC FRANCI PUGNANT ET CECIDERUNT QUI ERANT CUM HAROLDOHere the French do battle, and those who were with Harold fell
  4. HIC HAROLD REX INTERFECTUS ESTHere King Harold was slain
  5. ET FUGA VERTERUNT ANGLIAnd the English have turned in flight — words said to have been added shortly before 1814
  6. Here the cloth ends. The rest has been missing from time immemorial.

also called pinned horizontal scroll · sideways gallery

Changing the axis changes what the content means: a stack implies rank, a track implies comparison. Travel must be measured from real content — a track that barely overflows reads as a glitch, not a journey. Down becomes across. The section is exactly as tall as the strip is wider than the screen, measured from the cloth and not guessed, so the last stitch arrives as the scroll runs out. The strip is four overlapping photographs of the tapestry, joined where the embroidery in one carries on in the next.

How it is built.run { height: calc(100svh + var(--travel)); view-timeline: --run } /* as much scroll as the cloth is long */ .frame { position: sticky; top: 0; container-type: inline-size } /* the view holds still… */ .track { animation: pan linear both; animation-timeline: --run; animation-range: contain 0% contain 100% } /* …while the cloth moves */ @keyframes pan { to { translate: calc(100cqw - 100%) 0 } } /* until its end meets the frame's */ /* --travel: the strip's width at this height, less the screen's */

In full, on GitHub index.html showcase.css

Tapestry — the Bayeux Tapestry, 11th century, Bayeux Museum; digitised by the Université de Caen Normandie, the CNRS and ENSICAEN from the 2017 photographic campaign of La Fabrique de patrimoines en Normandie; public domain, via Wikimedia Commons: scene 55, scene 56, scene 57, scene 58, joined end to end by build/register.py. Tituli, translations and facts — Bayeux Tapestry; Bayeux Tapestry tituli.