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.18k stars 74 forks source link

Night sky tool (spherical planetarium) #1809

Open GuiSousa135 opened 1 year ago

GuiSousa135 commented 1 year ago

Offline spherical planetarium function within the "astronomy" tab of the application to assist the user in the identification and observation of planets, stars, constellations, satelites and other celestial bodies. In addition, extra features such as autocalibrage, gyroscope positioning/location identification, free navigation mode. A simple and open source application that adds this functionality as exemple is Sky Map.

Screenshot_20230609-151647_Sky Map

Screenshot_20230612-130546_Sky Map

Screenshot_20230612-130558_Sky Map

kylecorry31 commented 1 year ago

Hi, thank you for the suggestion.

I may consider adding some of this once #1802 is complete. I have held off on adding star positions to Trail Sense because it's very hard to spot them using just a list representation of azimuth / altitude.

Criteria for adding a star / planet:

But I likely will not add several planets or minor stars - see #449 and #319 where I previously attempted this but backed it off due to complexity and lack of practical use for the core use cases of Trail Sense.

Stars

Constellations

Planets

Other

kylecorry31 commented 1 year ago

Another example app: https://github.com/tengel/AndroidPlanisphere

GuiSousa135 commented 1 year ago

As the focus of the planetarium will be celestial navigation, the first objects to think about are the main constellations and their respective stars that are used to identify North and South, direction, time and other location parameters. We have three types of constellations: austral (southern hemisphere), boreal (northern hemisphere) and equatorial constellations, (located near the Celestial Equator) like the constellations of the zodiac. Then, the planets and visible stars of the earth: Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Sun and Moon. Finally, it would be important to see some of the imaginary lines of support and reference: the terrestrial equator line, the observer's horizon line (based on the location of the cell phone and the gyroscope), perhaps latitude and longitude angle markings. The Sky Map application (also made in Kotlin) demonstrates some of these objects. Soon I will be listing here specifically the name of the stars and constellations.

Screenshot_20230711-083247_Bromite Screenshot_20230711-083214_Bromite

kylecorry31 commented 1 year ago

@GuiSousa135 Thanks! As for the planets, I'll probably only add Mercury, Venus, Mars, Jupiter, and Saturn since the others aren't visible to the naked eye. I may start with just the stars, because I'm not too sure how important the planets are to celestial navigation (more research needed) - and they would mainly just be for people to stargaze while camping.

I'm going to start a list in my other comment, which I'll update as I get more information - I also picked up a book on navigation, which included a chapter on celestial navigation. I plan on giving that a read and seeing what it recommends for stars / constellations.