LookUpGroup27 / LookUp

0 stars 1 forks source link

Implement stars and planet display position logic #181

Open mehdi-hamirifou opened 5 days ago

mehdi-hamirifou commented 5 days ago

Task description: Develop the logic to calculate and display the correct positions of stars and planets on a sky map based on their celestial coordinates (RA, DEC) and the user’s current location, date, and time.

Acceptance criteria: • The logic calculates the accurate positions of stars and planets for display on the sky map using: • Right Ascension (RA) and Declination (DEC) for stars. • Ephemeris data for planets to determine their RA and DEC dynamically. • The user’s current location (latitude and longitude) is retrieved using the device’s GPS. • The display positions account for the current date and time, including adjustments for: • Local sidereal time (LST) to convert RA to hour angle. • Earth’s rotation and tilt to reflect celestial movement. • Stars and planets are displayed on the sky map in their calculated positions relative to the user’s location and orientation. • The logic handles edge cases, such as stars below the horizon, ensuring they are not displayed. • Performance is optimized to handle the calculations efficiently, ensuring smooth rendering of the sky map. • The implementation is thoroughly tested for accuracy, including: • Tests verifying correct positions of major stars and planets at known dates, times, and locations. • Integration tests to ensure seamless display and updates on the sky map.