Moon

From OLPC
Jump to navigation Jump to search


Moon-icon.png
Translate-icon-55px.svg Localization
.POT file NEEDED

Moon

A simple Moon phase viewer for the XO laptop including Lunar eclipse information and effect. It's usefulness as a shared activity will make more sense once the planned Sugar bulletin-board/chat overlay interface is implemented, where children will be able to point out features and places of interest to each other.

Screenshot

MoonActivity.gif

How to Install

Download this .xo file using the Browse activity: Moon.xo

Development

Moon is a standard Python activity that uses PyGTG for graphics and events. All Python is in an easily modifiable single file with a Sugar activity subclass that takes care of control and views, and a model class for Moon calculations. Code was ported from a Cocoa Mac application I wrote some time ago called MoonDock.

Release Notes

v1

Beta version with basic core functionality.

Testing (Yes)

Moon v1 has been tested on build 690, 691 and various joyride builds on a B4 laptop.

TODOs

  • Mini-month Lunar calendar (stylised icons)
  • Mouse hover hints for major features
  • Add a Tool menu
    • North/south hemisphere view
    • Grid lines
    • Markers of interest
  • Simplify/clean-up textual data
  • Convert main view to Cairo to allow improved rendering (soft shadow)

Feature requests