Screenery

Skarrow Round

Trail race event website template ยท Travel and outdoors

Open live preview Open full screen Download .zip

Skarrow Round, a trail race event website: the first screen at desktop width

An orienteering map come to life: a slate-dark fell range drawn in contour lines, a signal-orange route, and summit controls you dib.

The page is the race map. Behind the hero, a three.js terrain of the Skarrow Fells is generated from a seeded noise heightmap with radial dales, and drawn by a custom shader as a printed map: hillshade from the north-west, contour lines every 25 m with a heavier index contour every 125 m. The chosen course lies on it as a glowing orange line with numbered control markers.

Scroll into the course and the camera flies the route checkpoint by checkpoint, in step with the cards and an elevation profile whose marker rides the line. Switching between the 30k, 56k and 100k redraws the route on the terrain, the profile, the cards, the distance table, the pace calculator and the kit list. Every number (distance, climb, heights, cut-offs) comes from one course model, so they agree everywhere.

Below the map: a ruled table of the three races, a pace calculator that predicts your arrival at each checkpoint and flags the cut-offs you would miss, a mandatory kit checklist that remembers what you packed, the race weekend schedule, an entry form with inline validation and sending, error and success states, and the questions runners ask. Without WebGL the same terrain appears as a generated SVG contour map that pans with the route; with reduced motion the camera holds still and checkpoints jump it.

The brand is fictional: Skarrow Round, a fictional fell race weekend from Thornby over the Skarrow Fells. Names, people and figures on the page are invented.

What works

  • Scroll-driven camera flight along the route, synced with checkpoint cards and the elevation profile marker
  • Distance switch (30k, 56k, 100k) on the map, in the table and in the calculator; the route redraws on the terrain
  • Checkpoint cards and profile pins jump the camera to that checkpoint
  • Pace calculator: flat pace slider and aid-stop stepper, predicted arrivals, margins and missed cut-offs with the pace you need
  • Mandatory kit checklist filtered by distance, saved in localStorage, with an unpack-all reset
  • Entry form: distance tiles, qualifying points checked against the distance, emergency contact rules, T-shirt sizes, sending, error and success
  • Live countdown to the 100k start
  • Questions accordion and a popover section menu on small screens

States you can link to

script.js reads these from the URL, so you can open the page in a given state to review it, screenshot it or show it to an agent.

ParameterWhat it does
?distance=100opens on the 100k round (also 30 or 56). Open ?distance=100
?cp=4jumps the flight to checkpoint 4 (Hobcarr Pike on the 56k). Open ?cp=4
?distance=100&cp=8the 100k flight at Hobcarr Pike, after midnight on the cut-off clock. Open ?distance=100&cp=8
?noglswitches WebGL off and shows the generated SVG contour map fallback. Open ?nogl
?pace=11:45&stops=10&distance=100the pace calculator timed out at Ashgill Farm, with the pace needed to get round. Open ?pace=11:45&stops=10&distance=100
?kit=packedevery kit item ticked (?kit=empty clears them). Open ?kit=packed
?state=invalidsubmits a half-filled entry and shows the inline errors. Open ?state=invalid
?state=sendingholds the entry form in its sending state. Open ?state=sending
?state=errorsends a demo entry and shows the failed-to-send message. Open ?state=error
?state=successshows the start-list confirmation with a race number. Open ?state=success
?now=2027-06-19T09:20:00%2B01:00sets the clock to race morning so the countdown counts up from the 100k start. Open ?now=2027-06-19T09:20:00%2B01:00

Use it

Copy templates/fellrace/ into your project, or download the zip, which has the Screenery badge script already removed. Colours, type, spacing and radii are custom properties at the top of style.css. This template loads no libraries: only its own files and web fonts.

The docs explain the token pattern and how to move a template into React, Vue, Svelte or Astro. The guide has prompts for handing it to a coding agent.

Inspection

Loaded in Chromium 156.0.8078.4 (Playwright, headless) on 27 November 2026 at 1440, 1024, 768, 390 pixels wide and once more with reduced motion requested. Every check passed at every width.

1440 px
Pass
1024 px
Pass
768 px
Pass
390 px
Pass
Reduced motion
Pass
Page weight
613 KB, 11 requests

Requests and transferred size were measured at 1440 pixels on a cold cache and include web fonts and any CDN library. The full result is in the viewer: open the Checks panel. How templates are checked.

Back to all 78 templates