Some friends flew eastwards from New York to Singapore on a direct flight (it's one of the longest flights). I wondered what their experience of sunrises and sunsets were (they departed 10PM), I've noted down the times but haven't plotted it...
Later this year I'm flying from Europe to the West Coast of Canada, and it seems I'll be in daylight for the entirity of the flight (departing 2PM local, landing 4PM local after a 10 hour flight).
I flew from central US to western asia (via moscow) and it was an interesting experience for the reasons you mentioned. I think I left early Saturday morning local time and arrived Sunday evening local time. I saw a sunrise, sunset, sunrise, sunset in 18 hours of travel time.
I had interesting flights in end of june from St. Petersburg to Novosibirsk. It departed at around 23:00, and you saw sunset and still a dawn. As the plane flew mostly at latitude of 60°, the dawn in the north was always there, and 1.5 hours later, the sun rose. The plane arrives after 3h30m of flight at ~7:00 local time, in summer solistice the sun is already high enough.
Neat. Similar to https://www.suncalc.org, which also lets you zoom to the neighborhood level. Very useful to figure out when/where sunlight will hit your house.
This is probably the most clear explanation of the seasons and the changing altitude of the Sun that I have seen. This would be perfect for school lessons or popularizing science.
I notice that the stars don't seem to be rendered correctly. If you zoom out, you can see the sun's position relative to the stars. As you scroll the date slider through the course of a year, the sun should make a complete 360-degree revolution around the ecliptic. Or, when the camera view is locked to the sun, the stars should appear to revolve relative to the sun.
Instead, the sun appears motionless against the stars, regardless of the time of year. (If the demo used actual star positions, I would be able to point to how the sun was in the wrong constellation for a given date. But the starfield is randomly generated, so you have to actually observe the sun in motion to see the bug.)
The tilt of the globe on that page changes throughout the year to match The Earth’s tilt when viewed from from The Sun. The initial rotation of Earth is correct for the time of day too. This means that, when you load the page, you see The Earth as The Sun currently sees it.
I’m not sure anyone has ever noticed, and I’m sure my calculation isn’t perfect, but I enjoy watching it change over the course of the year.
This is really, really well done. I’m very impressed by all the features implemented here and I wish I could look over the source. I wonder how it is done.
Relatedly, has anyone seen tooling or approaches to calculate shadows behind particular hills and mountains, depending on the season and time of day? The sunset calculation for Boulder Colorado is quite inaccurate as we are in the foothills with mountains to the west. I've been pondering how to calculate this precisely.
Given the mountains, the sun would appear to set when it descends below some altitude angle. Given the equation in the wikipedia article you'd then just solve for the hour angle. (You'd then have to use your latitude to convert the local solar time to Mountain Standard Time.)
Outstanding design and implementation! Really great for visualizing the sun, earth, and seasonal relationships!
One minor nit I notice is the Latitude slider on the right seems reversed from what I'd expect. I would expect Slide UP to move North and increasing positive latitude numbers, and DOWN for South/negative, but this implements the opposite. It seems this may be to match the Longitude negative numbers at the top, but that convention seems a lot less necessary, i.e., either would work for longitude and +=UP/-=DOWN for latitude seems like it is more important to match with the physical and mental models?
Thanks for the cool tool, I'll be using it a lot for garden planning and solar panel install (and just cool to look at)!
I've been wanting to make a little circadian rhythm graphic based on the sun, would love to have a graphic like this to support it. If Andrew Marsh is listening, would love to create something to extend what I have (Preview at sun-taupe.vercel.app)
This is really cool! The clock on your page reminded me too of some sites that show a "real solar" time based on your location where solar noon corresponds to 12:00 PM.
And in one year of observations they noticed that the point of the stick followed an 8 shaped track on the ground. I wonder what they thought about it.
I attempted to build a naive sundial last year and I was surprised when I saw the sun moving east to west (or vice-versa, can't remember) at the same hour. It's very noticeable week over week.
is it possible to add moon to it as well.
that would make it more intuitive.. looking at the night moon its possible to find where the sun is but not possible to imagine the respective location of earth with respect to moon and sun.
sanbor|1 month ago
observationist|1 month ago
Amazing visualizer!
netsharc|1 month ago
Later this year I'm flying from Europe to the West Coast of Canada, and it seems I'll be in daylight for the entirity of the flight (departing 2PM local, landing 4PM local after a 10 hour flight).
Edit: well, FR24 has a handy flight tracking that includes the daylight progression: https://www.flightradar24.com/data/flights/sq23#3de5a306
So they flew 18 hours and experienced a full daylight cycle, arriving just before the second sunrise...
frikk|1 month ago
culebron21|1 month ago
paxys|1 month ago
leonidasv|1 month ago
agent013|1 month ago
netsharc|1 month ago
sllabres|1 month ago
Thanks for the find!
teraflop|1 month ago
I notice that the stars don't seem to be rendered correctly. If you zoom out, you can see the sun's position relative to the stars. As you scroll the date slider through the course of a year, the sun should make a complete 360-degree revolution around the ecliptic. Or, when the camera view is locked to the sun, the stars should appear to revolve relative to the sun.
Instead, the sun appears motionless against the stars, regardless of the time of year. (If the demo used actual star positions, I would be able to point to how the sun was in the wrong constellation for a given date. But the starfield is randomly generated, so you have to actually observe the sun in motion to see the bug.)
joshfarrant|1 month ago
https://farrant.me/coffees/
The tilt of the globe on that page changes throughout the year to match The Earth’s tilt when viewed from from The Sun. The initial rotation of Earth is correct for the time of day too. This means that, when you load the page, you see The Earth as The Sun currently sees it.
I’m not sure anyone has ever noticed, and I’m sure my calculation isn’t perfect, but I enjoy watching it change over the course of the year.
rogerallen|1 month ago
jborichevskiy|1 month ago
antognini|1 month ago
Given the mountains, the sun would appear to set when it descends below some altitude angle. Given the equation in the wikipedia article you'd then just solve for the hour angle. (You'd then have to use your latitude to convert the local solar time to Mountain Standard Time.)
ElCarl|1 month ago
Don't immediately see a way to get the actual estimated sunset out of it, but you can fiddle around manually
deepsun|1 month ago
toss1|1 month ago
One minor nit I notice is the Latitude slider on the right seems reversed from what I'd expect. I would expect Slide UP to move North and increasing positive latitude numbers, and DOWN for South/negative, but this implements the opposite. It seems this may be to match the Longitude negative numbers at the top, but that convention seems a lot less necessary, i.e., either would work for longitude and +=UP/-=DOWN for latitude seems like it is more important to match with the physical and mental models?
Thanks for the cool tool, I'll be using it a lot for garden planning and solar panel install (and just cool to look at)!
sanbor|1 month ago
samcheng|1 month ago
https://www.nrel.gov/grid/solar-resource/solpos
mannanj|1 month ago
layman51|1 month ago
sawjet|1 month ago
pmontra|1 month ago
I attempted to build a naive sundial last year and I was surprised when I saw the sun moving east to west (or vice-versa, can't remember) at the same hour. It's very noticeable week over week.
https://en.wikipedia.org/wiki/Analemma
If only we had a perfectly circular orbit and no axial tilt!
recallingmemory|1 month ago
Nora23|1 month ago
LateCheckOut|1 month ago
suchoudh|1 month ago
is it possible to add moon to it as well. that would make it more intuitive.. looking at the night moon its possible to find where the sun is but not possible to imagine the respective location of earth with respect to moon and sun.
fennec-posix|1 month ago
wumms|1 month ago
Fnoord|1 month ago
olya_pllkh|1 month ago
[deleted]
abicklefitch|1 month ago
[deleted]