![]() |
![]()
| ![]() |
![]()
NAMExphoon - displays the PHase of the mOON on the root window SYNOPSISxphoon [-b] [-t interval [-i]] [-s] [-display name] DESCRIPTIONXphoon sets the X root window to a picture of the moon in its current phase, including the partial lighting of the dark side by reflected earthlight. OPTIONS
NOTESThe original motivation for this program was that xsetroot was too slow. Loading a full-screen bitmap took about 15 seconds. We made a trivial program that had fullmoon.bitmap compiled in, and it ran in less than a second. (And incidentally, the executable was smaller than fullmoon.xbm.) Then later we came up with the phase hacking, the earthlight, and the auto-scaling. SEE ALSOphoon(1), xsetroot(1) AUTHORSCopyright (C) 1988, 1991 by Jef Poskanzer and Craig Leres. The moon-phase computation is from "moontool.c" by John Walker.
|