4 ms·
Neat. I've done that on the occasional web site, although matched to time of sunrise/sunset. I imagine reading from a light sensor is more accurate, but it is
by mixmastamyk 9y ago
Neat. I've done that on the occasional web site, although matched to time of sunrise/sunset. I imagine reading from a light sensor is more accurate, but it isn't available everywhere yet:
https://caniuse.com/#search=ambient https://caniuse.com/#search=ambient
- willtim 9y agoIf you are running Linux, iio-sensor-proxy might be worth a try.