From 34c2967c03872a1b70b53070c8c48568bc25600e Mon Sep 17 00:00:00 2001 From: Pablo Gonzalez Date: Sat, 6 Feb 2021 20:25:02 +0100 Subject: [PATCH] readme and status --- apps/planetarium/ChangeLog | 3 ++- apps/planetarium/README.md | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/planetarium/ChangeLog b/apps/planetarium/ChangeLog index 5ff3fde91..78288f646 100644 --- a/apps/planetarium/ChangeLog +++ b/apps/planetarium/ChangeLog @@ -1,2 +1,3 @@ 0.01: New App! -0.02: Major speed improvement. Added more stars. Up to 500! \ No newline at end of file +0.02: Major speed improvement. Added more stars. Up to 500! +0.03: Added more stars and constellations. Now it shows 20 constellations. \ No newline at end of file diff --git a/apps/planetarium/README.md b/apps/planetarium/README.md index 69ccd5334..991fdffd2 100644 --- a/apps/planetarium/README.md +++ b/apps/planetarium/README.md @@ -4,7 +4,7 @@ This planetarium takes your position and time and plots the sky as it is. No planets, or moon, only stars. It can show the 500 most brilliant stars in the sky. -Plan is to show also constellations, but this is work in progress. Now it shows Taurus and Orion as examples. +It shows also constellations. Now it has 20 constellations but this is work in progress. Only northern hemisphere covered now. I think code is quite optimized already. It runs as fast as I could make it run. If someone has some ideas to speed it up, I could plot more stars. @@ -20,13 +20,13 @@ Please note that the watch hardware is limited and computing the stars positions ## Do you want to contribute? Maybe you want to add some more constellations to the planetarium. As you can see I didn't cover constellations in the south hemisphere. How to do it? It is a bit tedious but it can be done and you will learn the constellations pretty well at the end of it. Steps: -- Open the file `plantearium.data.csv`. There you have the 500 stars that we have in the planetarium. The number of each star is the line number. For isntance for Sirius, the star number will be 1. +- Open the file `plantearium.data.csv`. There you have the 500 stars that we have in the planetarium. The number of each star is the line number. For instance for Sirius, the star number will be 1. - Find the two stars that you want to join in your constellation (a constellation line). For identifying a star you have to have a look at the name, usually something like `AL UMA` (alpha star of constellation ursa major). Lets say that you want to join stars 155 and 8 (this is constellation canis menor, that only has a line joining two stars). - Go to file `planetarium.const.csv` and add two lines for your new constellation. The first one will be the name of the constellation, the second one the pair of stars that you want to join, separated by coma (see the file for examples). - Do not forget to add a break line after the last constellation. - Upload the new `planetarium.const.csv` to your bangle (or emulator) and test it out. -What is a constellation star is not in the 500 star list in `planetarium.data.csv`? If you need another star to draw the constellation you can find that star in the full star list (`starinfo/planetarium.stars.csv`) and put it in `planetarium.extra.csv`. That stars will be loaded only when constellations are shown. In order to refer to these extra stars in the `planetarium.const.csv` you have to use the code `e_linenumber`, in order to differenciate them from the stars in the normal file. For instance, to refer to the first star in the file `planetarium.extra.csv`, you will refer it as `e_1`. Do not forget to add an extra line at the end as in the other files. +What is a constellation star is not in the 500 star list in `planetarium.data.csv`? If you need another star to draw the constellation you can find that star in the full star list (`starinfo/planetarium.stars.csv`) and put it in `planetarium.extra.csv`. That stars will be loaded only when constellations are shown. In order to refer to these extra stars in the `planetarium.const.csv` you have to use the code `e_linenumber`, in order to differentiate them from the stars in the normal file. For instance, to refer to the first star in the file `planetarium.extra.csv`, you will refer it as `e_1`. Do not forget to add an extra line at the end as in the other files. ## Development version Please check the latest development version [here](https://github.com/pglez82/BangleApps)