Field card
File: cineville-marathon.html
Pattern: a timetable as a string diagram, and an optimum drawn as a thread through
it. Every screening at Brussels' nine Cineville cinemas on one real day is a bar as long
as the film; time runs across, cinemas run down in the order you meet them walking east.
A dynamic programme finds the most films one person can physically reach with one pass
and draws that day as a blue thread — solid diagonals for moving between doors, dotted
runs for queueing at a box office that cannot reserve — with the same day drawn on a
small map and as a strip of time. The reader changes the day, how early they arrive,
when they are free and whether they stay for the credits; hovers a film to see where
they could be within the hour; clicks a film to insist on it; and presses play to live
the day minute by minute.
The brief that produced it
Ideate in the widget-studio before promoting anything to a component. Be creative, be ambitious — and when you think you have reached a level beyond ambition, go further. Do something with Cineville Brussels.
The one idea: a flat-rate pass turns a cinema programme into a city-scale scheduling problem, and that problem has an exact answer. Everything else on the plate serves that sentence.
Source of truth — and the boundary of the model
Factual (fetched 12 September 2026):
The programme. Cineville's public website is a Next.js app whose data lives at
api.cinevillepass.be. The venue list isGET /venues(29 Belgian venues with street addresses and coordinates). Screenings come from the same search the site's showtimes page performs,POST /events/search, filtered to the nine Brussels venue ids and one day at a time (04:00 to 04:00, Europe/Brussels). Titles, runtimes, release years and directors are the API's own production records. Four days were published at the time of fetching (Saturday 12 to Tuesday 15 September); Wednesday onward did not yet exist, which is why the day chooser stops there.The nine cinemas and their coordinates are the API's: Cinema RITCS (Rue Antoine Dansaert 70), Palace (Boulevard Anspach 85), Aventure (Rue des Fripiers 15), Galeries (Galerie de la Reine 28), Nova (Rue d'Arenberg 3), Cinematek (Rue Baron Horta 9), Vendôme (Chaussée de Wavre 18), Cineflagey (Place Sainte-Croix), Le Stockel (Avenue de Hinnisdael 17). Nova and RITCS had nothing listed on any of the four days; their rows say so rather than disappearing.
The pass. €22,50 a month (€18,50 under 26), a four-month minimum, one month's notice; members "scan the pass at the box office" and, in the pass's own words, "reservations are not possible for members just yet" (cinevillepass.be; Cinematek's ticket page repeats it; Palace allows collecting a ticket up to 90 minutes before the screening). That rule is why every film on the thread begins with a queue.
Box-office prices used for the "at the door" line: Palace €11, Galeries €10,20, Cinematek €7 (their own price pages); the other six are assumed at €10, so the total is rounded and worded "about".
The map is the blog's own: the
maplibre-pmtilescapability (vendored MapLibre GL JS and PMTiles, local glyphs) and its Belgium base map — admin, water, green, roads, rail and place tiles built with tippecanoe from the OpenStreetMap Belgium extract (© OpenStreetMap contributors; provenance in the capability's SPEC.md). The study loads the capability the way a component would, adds its own GeoJSON layers on top (route, cinemas, visit numbers, the walker) and quietens the base road and rail paint to the plate's ink-on-paper register. Standalone, the capability is read from the blog preview server (npm run preview, port 4173, which byte-serves the tiles and, since this study, answers the studio's cross-origin range requests); if it cannot load, the study keeps its drawn map of nine dots as the resting face. The route is drawn as straight lines between doors — a diagram of the walk, not a routed path.Three runtimes the API listed as zero or missing were filled from public sources and are flagged in the tooltip as "runtime filled in": Teenage Sex and Death at Camp Miasma 112 min, La Fille dans les nuages 88 min, Tender Mercies 92 min.
Modelled (stated here, not hidden):
Travel time between two cinemas is the quicker of walking — great-circle distance × 1.3 for streets, at 4.8 km/h — and public transport at 12 minutes overhead plus 3 minutes per kilometre. That gives Palace → Galeries 7 min, centre → Vendôme about 16, centre → Flagey about 20, anything → Le Stockel 32–37. The page computes this from the coordinates at load; no matrix is embedded.
The box-office margin (default 10 minutes, 0–30) is the time you arrive before the listed start, on top of travel. "Stay for the credits" adds 8 minutes to each film.
Listed start = film start. Trailers are not modelled; a cinema that runs fifteen minutes of adverts gives you fifteen minutes the thread does not know about.
The same film is never watched twice. The solver enforces this by re-solving with the extra showing removed (keeping a pinned one), which is a heuristic layered on an exact solver; it is disclosed rather than pretended away.
Ties. Many days admit several seven-film threads. The reader picks the tie-break: roam the city prefers threads that change cinema most often, then the least time on the move; stay put prefers the least time on the move. The default is roam, because a city pass that never leaves one building has missed its own point.
The solver is exact within the model. Screenings sorted by start form a directed acyclic graph (an edge when you can get from one film to the next in time); the longest path through it is found by dynamic programming in quadratic time. At load, and after every change, the page verifies its own thread: every consecutive pair is checked against the travel rule, and every listed film is tested against every gap — if any one could be inserted, the thread is not optimal and the note under the plate says so with a ⚠ instead of a ✓.
What the plate says on the day it was made
Saturday 12 September 2026: 83 screenings; the best thread is 7 films — Akira at Galeries, Le Voisin and Vigilante at Aventure, In Waves at Palace, Ingeborg Holm at Cinematek, Blue Heron at Aventure, Hen (Kota) at Palace — 10 h 34 in the dark, 37 min on the move, 1 h 30 queueing, about €69 at the door. Sunday also allows 7, Monday 6, Tuesday 5. And by a coincidence the studio could not have planned, a 67-minute film called Res Nullius plays three times at Aventure that Saturday; the caption invites the reader to insist on it.
Design choices
The figure is Marey's. Étienne-Jules Marey's 1885 Paris–Lyon train graphic (the one Tufte reprinted) draws stations down the page and time across, so each train is a sloping line whose slope is its speed. Here the "stations" are cinemas ordered along the walk from Dansaert to Stockel, the screenings are horizontal bars, and the thread's diagonals are the reader in motion; a steep diagonal is a short hop, a shallow one is the metro to Stockel. The dotted horizontal is the queue — time that the figure refuses to hide inside a gap.
Colour is mechanism, not decoration. Blue is the solved day. Yellow appears only under the cursor: the films you could be watching within the hour after the one you are on — the solver's own edges, made visible one node at a time. Red is the reader's will: a film they insist on. Everything else is ink on paper.
Three renderings of one thread. The diagram (when), the map (where), and the strip under the axis (how the hours divide: film, move, queue — in the same x-scale, so the strip is the diagram flattened). Play runs all three at once, with a red playhead, a red walker on the map, and a one-line log of what the reader is doing at that minute.
The readout says the relationship in words — films, hours in the dark, minutes on the move and queueing, what the day would cost at the door against the pass — so the claim survives without colour.
A real map, on the blog's own tiles. The first version drew nine dots and a 1 km bar; the author asked for the actual city, and the blog already serves a Belgium base map from PMTiles, so the study borrows it. The map frames whichever cinemas the thread visits (zooming out to Le Stockel only when the day goes there), labels place themselves around the dots, and the walker crosses real streets during playback. The drawn map remains underneath as the no-tiles fallback.
Accessibility. Every screening is a focusable button with a spoken label (title, cinema, time, length); Enter pins it and focus shows its fan. Sliders and radios are native. Reduced motion jumps playback to the end of the day.
If it were ever promoted
It should not be, as is: a component must not hotlink a third party's API from
readers' browsers, and the programme goes stale in a week. A promotable version would
carry a snapshot as its data package (dated, with the fetch recorded) and would
regenerate it from the same two endpoints at build time —
cineville-marathon.gen.py, which fetches the venues and
a week of screenings and rewrites the data block inside the study, is the sketch of
that build step. The travel model and the solver are already pure
functions of the data and would survive extraction unchanged.