Southern California heat falls hardest on elderly people, children and outdoor workers. Google Maps gives the shortest walk; CoolRoute gives the coolest one, and puts the trade in plain terms — 16% less sun for one minute of extra walking. Built for the ASPIRE hackathon.
The walking graph is 48,579 nodes and 56,415 edges lifted from OpenStreetMap: every footpath, sidewalk street and stairway in greater Claremont, out to the edges of La Verne, Pomona, Upland and Montclair, preprocessed into a static file that crosses the wire at about 0.7 MB.
Every edge carries static features — mapped trees, canopy priors by street type, 5,128 building footprints, parks, arterial heat islands. At request time the sun's altitude and azimuth are computed astronomically for the chosen departure, and each edge resolves to a shade fraction: canopy, plus building shadows that lengthen as the sun drops and fall across streets running perpendicular to it, plus park cooling.
Dijkstra then runs twice in the browser, in under 50 ms — once on distance, which reproduces the ordinary route, and once on distance scaled by sun exposure. Both draw at once, the cool one coloured segment by segment by how much sun it takes. Conditions come from the nearest NOAA station, with Open-Meteo behind it, and the source is named in the interface. The whole thing is static and client-side: no backend, no API keys.