kylecorry31 / Trail-Sense

An Android app that uses your phone's sensors to assist with wilderness treks or survival situations.
https://kylecorry.com/Trail-Sense/
MIT License
1.16k stars 74 forks source link

Celestial object companion app #449

Closed swedneck closed 3 years ago

swedneck commented 3 years ago

E.g. the planets, major stars, maybe arbitrary imported objects somehow?

kylecorry31 commented 3 years ago

That would be cool, but I'm not sure if it would provide any useful information for hiking/survival situations that the compass itself wouldn't already provide (i.e. direction with the North star for example). Can you think of any benefits this could provide?

Regardless, I would be interested in creating a simple "star" map app using some of the technology stack I built with Trail Sense.

swedneck commented 3 years ago

Mainly thinking that it's good to memorize where stars are in case you ever need to navigate by them, also the fact that hiking is conducive to stargazing.

A separate app or tool may be better though, perhaps a star chart on the face of a compass.

kylecorry31 commented 3 years ago

Yeah, I think I would prefer a separate app in this case. I don't really the 2D (azimuth) to the star would be all too helpful - a 3D stargazing app would be better. Unless you already know what the star/constellation looks like/how to find it, pointing you in that direction might be confusing as you try to figure out which star TS was referring to, as it could be any in that direction.

Also, I have all the icons already, and the astronomy code I built should support arbitrary celestial objects, so it wouldn't be a huge undertaking to support this in another app, and I have some cool ideas for how to do this in a user-friendly way.

kylecorry31 commented 3 years ago

Ideas:

kylecorry31 commented 3 years ago

Screenshot_20210227-120436

Felt like working on this a bit today :)

Got all the altitude and azimuth calculations working, now just need to display them as a camera overlay

kylecorry31 commented 3 years ago

(FYI, mapping the planets onto a sphere with the camera at the center is no easy task, putting this on hold for a while)

aw-bib commented 3 years ago

For mere mortals you may leave out planets beyond Saturn as you'd need a telescope to see them. For Mercury you'll need quite some luck as it's so close to the Sun. (Some famous astronomers of the day never saw it in their lifetime.)

As for celestial objects a suitable list may be given by the Nautical Almanac, e.g. the Air Almanac 2021. On p.2 a list of bright stars including their positions in 2021 and their magnitude is given. (The lower the mag the better to see. Everything beyond about 4 requires really dark nights without light polution. The limit for the unaided eye is somewhere at 6 mag if it is really, really dark.) This would be a quite practical list, of more or less easily identifiable stars, as it's meant for navigation with a sextant.

BTW: Planisphere would give a nice star chart. PlanetDroid gives some tools for ephemeris calculation and also offers a star finder using the phones camera.

JensKorte commented 3 years ago

How about using Sky Map ?

kylecorry31 commented 3 years ago

I'm not going to be building this - was a fun learning experience though!