aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--src/plugins/lunar.py15
2 files changed, 17 insertions, 0 deletions
diff --git a/TODO b/TODO
index 95a760c..768c2f4 100644
--- a/TODO
+++ b/TODO
@@ -20,6 +20,8 @@ List of plugins to implement:
Keyboard lock keys
Keyboard layout
EWMH
+ Meteor Showers
+ Calendars: holidays, birthdays, name days, events
/proc/interrupts
/proc/net/sockstat
/proc/net/sockstat6
diff --git a/src/plugins/lunar.py b/src/plugins/lunar.py
index 2df7c0c..c193369 100644
--- a/src/plugins/lunar.py
+++ b/src/plugins/lunar.py
@@ -43,6 +43,7 @@ ref = julian_day(934329600) # 11 August 1999 00:00:00 UTC
now = julian_day(time.time())
synodic_month = 29.530588853
+# TODO how to we calculate the Moon's apparent geocentric celestial longitude
fraction = ((now - ref) / synodic_month) % 1
waxing = fraction <= 0.5 # we get an off by one without equality
print('fraction: %f' % fraction)
@@ -63,3 +64,17 @@ if (not waxing) != inverted:
print('illumination: %.2f%%' % (illumination * 100))
+# TODO add libration
+# TODO add phase names
+# TODO add solar and lunar eclipses
+# TODO add position of sunlit area
+# TODO add tides
+# TODO add blue moon
+# TODO add black moon
+# TODO add moon colour
+# TODO add altitude
+# TODO add azimuth
+# TODO add zodiac sign
+# TODO add distances
+# TODO add angular diameters
+