Preview of Sunny.coffeeOpen sunny.coffee

sunny.coffee

Sunny.coffee

A map showing which cafes, benches, and outdoor seats are in the sun or shade at any time of day using WebGL and OpenStreetMap data.

Visit project

Show me a random project

First shared
Jul 16, 2026
HN activity
83

Show HN@BrunoJoJul 16, 2026

Show HN: A map of cafes that are in the sun

I wanted to sit outside for coffee but there was no way to see which cafes are in the sun right now. So I built a map that shows which cafes, benches, and outdoor seats are in the sun vs. shade at any time of day. 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

Community

Hacker News discussion

Loading the thread…