xiph.org: MGM manual

[ home | FAQ | download | troubleshooting | manual | cvs | mailing lists ]

# Module: phoon

phoon is essentially xphoon, rewritten in Perl with a few math tweaks/fixes and different base case data. It gives a graphical display of the phase of the moon.

## Current platforms

All

## Instances

multiple allowed

## additional resources

ipad

ipad specifies an internal padding to add to the inside of all four module borders. The padding is added inside any relief.

## Resource defaults

Resource defaults explicitly altered from the global defaults by this module:

- borderwidth: 1
- ipad: 20
- order: .2
- relief: sunken
- scalejustify: 0
- scalelenadj: 60
- scalerefresh: 2000
- scalewidadj: 150

## Possible enhancements

Oh boy, here we go...

This is the kind of module one can take to a logical extreme... and I really hope someone does! In addition to wishing the prediction algorithm was more precise (the code I use is +/- 20 minutes for the next several centuries, which is better than xphoon managed. Emacs's calender, however, is +/- a minute or so... and it *bugs* me), I'd like phoon to predict blue/harvest moons and eclipses. The biggest single want, though, is to get the axial tilt and lighting right. At the moment it just does the easy stuff like xphoon. I realize that would require lon/lat, something difficult to autosense, but that's what X resources are for :-)

It would be especially cool for a real astronomy nut to do it... I *know* I'm going to get something wrong if I haven't already.

Also, while I'm at it... anyone want to write earth? :-)

MGM will not get your whites whiter or your colors brighter. It will, however, sit there and look spiffy while sucking down a major honking wad of RAM.

MGM, Xiphophorus and their logos are trademarks (tm) of Xiphophorus. These pages are copyright (C) 1994-1999 Xiphophorus. All rights reserved.