4 ms·
Very cool. Sorry for being "that guy" but I assume this doesn't take into account the earth surface curvature, just the relative sun position and then assumes a
by cyborgx7 5y ago
Very cool. Sorry for being "that guy" but I assume this doesn't take into account the earth surface curvature, just the relative sun position and then assumes a flat earth?
It probably not nearly significant enough on the scale of the use case described on the site, but a shadow on a sphere has a different shape than a shadow on a plane. Though that effect may cancel out depending on the map projection that was used.
- mbustamanter 5y agoAssumes a flat surface, I've just tested it on a large crater [0]. [0] http://shadowcalculator.eu/#/lat/-23.928141910247348/lng/-68.26168716018941 http://shadowcalculator.eu/#/lat/-23.928141910247348/lng/-68...
- alfanick 5y agoYup, seems to treat Earth as flat, not really useful in my area (living in the valley, surrounded by high mountains from east and west - sunrise time does not mean you're going to see sun, if it's still hiding behind a mountain).