Calculate the position of the Sun, Moon and Milky Way in order to plan the position and time for an photograph.
 
 
 
Go to file
Zwarf 36dfa1b872 Add TODO 2020-08-23 18:28:32 +02:00
screenshots
src Add TODO 2020-08-23 18:28:32 +02:00
LICENSE
README.md Add installing instructions 2020-08-19 23:49:09 +02:00
meson.build

README.md

PicPlanner

A GTK application for photographers using GNU Linux or especially Linux phones. It can be used to calculate the position of the Sun, Moon and Milky Way in order to plan the position and time for a photograph.

The Idea

People who love to photograph know the biggest problem is being at the right spot at the right time. Therefore landscape pictures should be planned before visiting the place of choice. To plan the location it is important to know the positon of the sun, moon and sometimes also the milky way. Where to find the sun at which time is most of the time easy to guess but when is the sunset? And for the milky way normally nobody knows where to find it in the night sky at which time at a specific location. This small program should answer all these questions.

Plan

+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. Write a simple plot-library based on Cairo -- Partly done but not 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

Most of the formulas used are explained in detail directly inside the code. Some of these formulas are from the excellent book by Jean Meeus "Astronomical Algorithms". Others are from scientific papers or combined by me.

Libraries

GTK is used to create the GUI. GDK and Cairo is used for the plots. Libhandy is used to fit on small screens. Curl (and Json) is used to connect to "Nominatim" (OpenStreetMap) to translate searched words into coordinates.

Build

At the moment this application is NOT functional and I only test this application with Gnome Builder. Some parts of Libhandy like "HdyViewSwitcherBar" are only showen correctly with "Adwaita" as theme.

meson builddir
cd builddir
ninja
ninja install
``

## 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>