Lexicon / Scroll behaviour · 9 of 11

22 / Scroll behaviour

Kinetic Drag

Grab it and throw it. It keeps going after you let go, then slows to a stop as though it had weight.

Throw the Roman world

The Tabula Peutingeriana: every road of the Roman Empire on one parchment scroll, 6.75 metres long and 35 centimetres high, from the Channel to India. Grab it and throw it. How far it runs, and how it comes to rest, is one number.

Grab the map and throw it — or swipe, or use the arrow keys

  1. Segmentum IThe first section, lost “to the injustice of time”
  2. RomaRome, enthroned at the centre of her roads
  3. ConstantinopolisThe new Rome, on the Bosporus
  4. AntiochiaAntioch, with the springs of Daphne
  5. Hic Alexander responsum accepit“Here Alexander received the answer”: the edge of the known world
  6. TaprobaneSri Lanka
Each frame the map keeps

also called drag-to-scroll · inertial scrolling · momentum decay

Everything lives in the decay constant. 0.90 stops abruptly and feels cheap; 0.98 slides forever and feels broken. Around 0.94 is where it starts feeling like an object with mass. Try all three under the map. The strip itself is eight overlapping sheets of the facsimile, each measured against the next and set in place with a scale, a turn of a fraction of a degree and a cut at the middle of the overlap, so no town appears twice; where a sheet’s band falls short, the map’s own sea fills in.

How it is builtv *= decay ** (dt / 16.7) /* each frame keeps a share of its speed */ if (Math.abs(v) < 0.02) stop() .roads { overflow-x: auto } /* touch, trackpad, keys: the native scroll */ .sheet { transform: translate(…) rotate(…) scale(…); clip-path: inset(…) } /* stitched */

In full, on GitHub index.html showcase.css showcase.js

Map — the Tabula Peutingeriana (the surviving copy, about 1200, Austrian National Library), in Konrad Miller’s facsimile of 1888, from the National Library of Australia, public domain, via Wikimedia Commons: sheet 1, sheet 2, sheet 3, sheet 4, sheet 5, sheet 6, sheet 7, sheet 8. Facts — Tabula Peutingeriana.