It ray-marches building shadows live in a WebGL shader over a MapLibre map. I also pre-index all places from OpenStreetMap into H3 hex cells and serve them as static JSON on Cloudflare R2, so the client just fetches the cells in view and no backend is needed.
Feedback welcome, especially on shadow accuracy in your city. Currently only buildings and trees are taken into account when calculating the shadows but I'm planning to add terrain/mountain shadows as well.
Try it: https://sunny.coffee
vfalbor•56m ago
vfalbor•54m ago