Netnyahoo
Real Chromium for the Mac, free and open source: Arc's sidebar and Dia's polish, with no account. Immune to ads, trackers and prosecution.
Switzerland in shaded relief, rendered in R with rayshader, with the route of the 1911 Alpine walk that Tolkien said shaped Bilbo’s crossing of the Misty Mountains.
OtherR · PythonGitHub @thecodeakOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Tolkien's 1911 walk through the Swiss Alps, traced on a rayshader relief rendered in R
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗In the summer of 1911 a nineteen-year-old J.R.R. Tolkien walked through the Bernese Oberland and into the Valais. More than fifty years later he wrote that Bilbo's crossing of the Misty Mountains, "including the glissade down the slithering stones into the pine woods", was based on it (Letter 306).
This repository renders Switzerland's relief in R with rayshader and traces the walk across it. The interactive version, with the route drawn as you scroll, is at maciejkielar.com/work/tolkien-1911.
| Step | File | Output |
|---|---|---|
| Country relief | R/01_switzerland.R | renders/switzerland_final_lakes.png (3500 × 3500, 350 samples) |
| Route-region relief | R/02_route_region.R | renders/route_region.png: Bernese Oberland and Upper Valais at ~52 m cells, matched to the country render's palette range and vertical exaggeration |
| Geometry | R/03_web_geometry.R | data/route_lv03.csv, data/border_lv03.csv: route and border projected to the Swiss LV03 grid the reliefs were rendered in |
| Web assets | tools/web_assets.py | web/relief.webp, web/relief-detail.webp (transparent, cast shadow kept; the detail colour-matched to the overview), web/route.json (coordinates the page draws with) |
| Preview | tools/preview.py | docs/route_preview.jpg, the image above |
Rscript R/01_switzerland.R
Rscript R/02_route_region.R # add `preview` for a quick framing check
Rscript R/03_web_geometry.R
python tools/web_assets.py renders/switzerland_final_lakes.png renders/route_region.png --out web # --debug writes fit overlays
python tools/preview.py
Scripts download and cache their data in data-raw/ (or set RELIEF_DATA_DIR to an existing cache). Renders are slow: plan on tens of minutes for the full-size ones.
Both reliefs are rendered top-down (phi = 89, orthographic), so each image maps to LV03 with a plain scale and offset. web_assets.py fits the country render by matching the relief's bounding box to the border's (scales agree between axes to within 0.1%). The regional render's southern edge is snow on white paper, so its fit is refined by maximising the overlap between the projected border and the rendered relief.
data/route.csv lists every point the line passes through, in order. Rows with stop = 1 are the stops shown on the page; each says how it is known:
Between stops the line follows valleys and passes through intermediate places. It is a reconstruction, not a recorded track.
Elevation via elevatr (AWS Terrain Tiles) · border from GADM · rivers from HydroRIVERS · lakes from Natural Earth · lighting HDRI from Poly Haven. Downloaded data and full-size renders are not committed; each source keeps its own licence.
More reliefs: thecodeak/rayshader-reliefs.
Code: MIT.