Daylight Drive

From
Matthew Denner
Date
2 November 2026
No.
2
Read
1 min
Tags
ai-project · tool

I discovered something this weekend: I no longer like driving in the dark. I just don't like being blinded by other cars headlights.

My wife & I were away for the weekend and had a ~6 hour drive home. We had to visit her family for lunch on the way back. AFAIK no Google Maps will allow me to say "I want to drive from A to B, stay there for at least N minutes, and then resume my journey to C so that I don't spend any time in the dark".

So I had Claude build it. It helped us realise that we could leave the hotel before 09:30, to arrive for lunch at 11:30, but would have to leave at 13:30 (at the latest) if we wanted to be home before dark.

If you have a Mapbox API token then you can try it out below.

Daylight Drive

Route

Sun times are calculated on this device for every point along the route at the moment you'd pass it. Drive times use predicted traffic where available.