biblehistory

biblehistory

Lands of the Bible — an interactive atlas of the biblical world through time

JavaScriptStarted

README

An interactive atlas of the biblical world through time. Scroll the timeline and the map shows the places Scripture mentions around that date. Hover anything for a summary; click for details and links to the ESV text on bible.com.

Run

python3 serve.py

Then open http://localhost:8417. No build step or dependencies — the site lives in public/, and d3, topojson-client and earcut are vendored in public/vendor/. Any static server works, but the page must be served over HTTP, not opened as a file.

Live at https://biblehistory.io27.com.

Deploy

The site is a static-assets Cloudflare Worker (cloudflare.config.ts, wrangler.config.ts). With the cf CLI logged in:

npm install
cf deploy

Rendering

The map is drawn with WebGPU (public/js/basemap-gpu.js): geometry is projected once and uploaded to the GPU, and each frame is redrawn there. The engraved coastal rings come from a distance-to-coast field rendered on the GPU. Labels, markers and routes are drawn on a 2D canvas overlay (public/js/map.js). Browsers without WebGPU fall back to a cached Canvas 2D renderer (public/js/basemap-canvas.js). To force the fallback, add ?renderer=canvas to the URL.

Controls

  • Timeline: scroll or drag to move through time; ⌘/Ctrl + scroll (or pinch) to zoom; click a book, era or event marker to jump to it; ← → step between events (Shift for small steps).
  • Map: drag to pan, scroll to zoom; panning is limited to the known world of the biblical writers. Click a place for its details and timeline.
  • Toggles: Empires shades the ruling powers of the era; All places shows every place regardless of date; Follow pans the map to the current events as you scroll.
  • The URL hash keeps the date and selection (#y=-1446&place=sinai), so views can be bookmarked.

Data (public/js/data/)

  • places.js holds about 190 places with coordinates, a description and key references. Uncertain sites are flagged q: 1.
  • events.js holds about 120 dated events (each with places and references) plus the eras.
  • books.js gives all 66 books with date ranges: the period a book's narrative covers, a prophet's ministry, or when a letter was written.
  • powers.js has rough empire outlines.

Dates follow a conservative evangelical chronology like the ESV Study Bible's: exodus c. 1446 BC, David c. 1010 BC, Jerusalem's fall in 586 BC, crucifixion AD 30/33. Genesis 1–11 is shown as undated primeval history.

Coastlines, lakes and rivers come from Natural Earth (public domain), clipped and simplified into data/world.topo.json.