home *** CD-ROM | disk | FTP | other *** search
-
- phoon - program to show the current phase of the moon on the
- Amiga display. ported from the X11 program xphoon.
-
- I ported this program so I can enjoy the same background picture as I have
- On the Xterminals I use. I release this so you all can also enjoy it.
-
- My part of the program is entirely free. Read other copyright notices from
- libs and original directories.
-
- and DISCLAIMER: use this program at your own risk. This software is
- provided "as is" without express or implied warranty.
-
-
- to run this program you need ixemul.library and iff.library located
- in your libs:directory and one of the fullmoon pictures (from fullmoons
- directory in this distribution, names tell the x and y -radiuses of the
- fullmoon pictures). Default path for fullmoon picture is "fullmoon.ilbm"
- on current working directory, but that can be changed by binarypatching
- the "phoon" or by giving a new path at command line.
-
- Program outputs the phoon picture to ram:phoon.pic -file.
-
- Usage for this program is:
-
- phoon [-s] [-d] [-f filename] [-g dcx[dcy[drx[dry]]]] [-r]
-
-
- -s :shades the shadowed part of the moon w/ calculated approximate
- earthlighting, without this flag the area becomes completely
- black.
-
- -d :this flag douples every bit in shading pattern. If one's monitor
- can't show single bits well, I have included fullmoon pictures
- whose bits are doubled too (d504x252.ilbm and d504x189.ilbm)
-
- -f filename :path and filename of the fullmoon picture you want to use
- default filename is "fullmoon.ilbm" and it can also be
- binarypatched to any name, max approximately 50 chars long.
-
- -g dcx[dcy[drx[dry]]] :there are fullmoon pictures of different sizes.
- this program gets the center and radius of the picture depending
- on the size ratios between original (1600x1280) and the used
- fullmoon picture. the ratio between bigfullmoon and fullmoon
- radius and center is not always same (or there is a bug in
- calculations). This option changes the center and radius of the
- moon picture. For example -g +1-5+6 moves center one left and 5
- up, increasing x-radius by 6.
- Now i have noticed, that all fullmoons get shadowed correctly,
- but there might be need for this option anyway (at least it is
- fun to play w/ it)
-
- -r :this option reverses black and white color. this is for 1.3 users
- ( I don't know if this works on 1.3)
-
-
- How to put fullmoon picture on the workbench background:
-
- add NickPrefs to your s:startup-sequence just after IPrefs (read
- NickPrefs documentation about it)
-
- copy envars_sys/phoon_wbpic.prefs to your envarc:sys directory
-
- write these lines in start of your s:user-startup:
-
- SetEnv TZ (your time-zone)
- Assign etc: ram:
- Stack 10000
- phoon (options you might need)
- Stack 4096
- Rename env:sys/phoon_wbpic.prefs env:sys/wbpicture.prefs
-
- and to end of your s:user-startup
-
- Delete ram:phoon.ilbm
-
- For 1.3 I remember there is a program which puts any iff-picture to the
- workbench background.
-
- fullmoon pictures are made the following way: (in unix w/ pbmplus)
-
- xbmtopbm bigfullmoon.xbm | pnmscale .6666 | pgmtopbm | pbmtoilbm >504x504.ilbm
- xbmtopbm bigfullmoon.xbm | pnmscale -xscale .3333 -yscale .25 | pgmtopbm | p4doublepixel | pbmtoilbm >d504x189.ilbm
- ...
-
- Have fun
-
- Tomi Ollila
- too@cs.hut.fi
- Kitarakuja 1 A 266
- 00420 Helsinki
- Finland
- -358-0-563-5733
-