Change Readme due to necessary plot library

old-version-gtk3
Zwerg12 2020-08-19 18:24:26 +02:00
rodzic c03a2d49c1
commit 2d7a57817f
2 zmienionych plików z 11 dodań i 8 usunięć

Wyświetl plik

@ -12,12 +12,13 @@ This small program should answer all these questions.
+1. Create a basic GUI -- Partly done
+2. Create the basic web search -- Partly done
+3. Calculate the center of the milky way at a specific time -- Implemented but still not correct
-4. Calculate sunrise and sunset at a spesific day -- Still trying to find appropriet formulas
-5. Find the position of the moon at a spesific time
-6. Present these information in a nice plot
-7. Implement "smarphone functionality" e.g. find location via GPS and present a compas to adjust the camera correctly
-8. Insert OpenStreetMap to plot everything direktly on a real map
-9. Make everything "real time"; Slide through time bar to see changes on the map instantly
+4. Write a simple plot-library based on Cairo -- Partly done but ot implemented
-5. Calculate sunrise and sunset at a spesific day -- Still trying to find appropriet formulas
-6. Find the position of the moon at a spesific time -- Still trying to find appropriet formulas
-7. Present these information in a nice plot -- Library necessary
-8. Implement "smarphone functionality" e.g. find location via GPS and present a compas to adjust the camera correctly
-9. Insert OpenStreetMap to plot everything direktly on a real map
-10. Make everything "real time"; Slide through time bar to see changes on the map instantly
```
## Formulas used
@ -39,4 +40,4 @@ Some parts of Libhandy like "HdyViewSwitcherBar" are only showen correctly with
## Screenshots
<a href='https://gitlab.com/Zwerg12/picplanner/-/blob/master/screenshots/screenshot-large.png'><img height='300px' alt='screenshot-large' src='https://gitlab.com/Zwerg12/picplanner/-/raw/master/screenshots/screenshot-large.png'/></a>
<a href='https://gitlab.com/Zwerg12/picplanner/-/blob/master/screenshots/screenshot-small.png'><img height='300px' alt='screenshot-large' src='https://gitlab.com/Zwerg12/picplanner/-/raw/master/screenshots/screenshot-small.png'/></a>
<a href='https://gitlab.com/Zwerg12/picplanner/-/blob/master/screenshots/screenshot-small.png'><img height='300px' alt='screenshot-large' src='https://gitlab.com/Zwerg12/picplanner/-/raw/master/screenshots/screenshot-small.png'/></a>

Wyświetl plik

@ -38,9 +38,11 @@ void utc_zone_to_time (int *time_utc, int *time_local){
if (*(time_local+3)>24 || *(time_local+3) < 0){ /* Test if hours are still inside the same day */
*(time_local+3) = *(time_local+3)%24;
*(time_local+2) = *(time_utc+2)+sign;
if (*(time_local+2) > max_day_in_month (*(time_utc+1), *(time_utc)) || *(time_local+2) < 1){ /* Test if days are still inside the same month */
*(time_local+2) = (*(time_local+2)-1)%max_day_in_month (*(time_utc+1)+sign, *(time_utc))+1;
*(time_local+1) = *(time_utc+1)+sign;
if (*(time_local+1) > 12 || *(time_local+1) < 1){ /* Test if months are still inside the same year */
*(time_local+1) = (*(time_local+1)-1)%12+1;
*(time_local) = *(time_utc)+sign;
@ -188,7 +190,7 @@ void calc_sidereal_time(float longitude, double *time_jd, double *sidereal_time)
* position towards the sun due to the rotation around the sun. This means every day at 00:00 we look about 1 degree differently to a fixed star then the day
* bevore at the same time. In one year this is 360 degree and in 100 years this is 36000 degree.
* The quadratic and cubic parts are due to different effects like the precission and nutation of the ecliptic.
* --> more detailed explanations where these terms come from are welcome!
* --> more detailed explanations where these terms come from may follow. If someone knows the answer PLEASE tell me!
*
* The adding of the longitude is to get the correct sidereal time at the location of interest. This is necessary because the sidereal time
* is not the same around the globe.