home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!ois.db.toronto.edu!panos
- Newsgroups: comp.os.os2.misc
- From: panos@db.toronto.edu (Panos Economopoulos)
- Subject: Re: PMGlobe (astronomical calculations)
- Message-ID: <92Sep10.215716edt.42040@ois.db.toronto.edu>
- Organization: Department of Computer Science, University of Toronto
- References: <1992Sep10.131650.24408@unlinfo.unl.edu>
- Date: 11 Sep 92 01:57:24 GMT
- Lines: 56
-
- rlosee@unlinfo.unl.edu (Robert Losee) writes:
-
- >My question is this; is the code available for the program? It seems
- >to be written at IBM, I think by the guy who wrote REXX (my favorite
- >language) Cowlisha (sp?). I could learn two things from it:
-
- >1) the calculations needed to project sunlight on the earth and then
- >project this onto a 2 dimensional screen
-
- There is an X-Windows program named ``sunclock'' which does the
- same thing. The only difference is that the earth is not projected
- on the screen as a sphere but is mapped onto a square (the whole
- window). The program itself can be found, most probably, in
- any archive site that carries the group ``comp.sources.x''
-
- The following excerpt is from the manual page. The reference by Meeus
- plus any book on graphics (with information about transformations,
- projections etc) should be a good starting point.
-
- ....
-
- HOW IT WORKS
- ``sunclock'' calculates the position of the Sun using the algo-
- rithm in chapter 18 of:
-
- "Astronomical Formulae for Calculators" by Jean Meeus, Third
- Edition, Richmond: Willmann-Bell, 1985.
-
- and Mercator projects the illuminated area onto map image.
- The Sun's position is calculated to better than one arc-
- second in accuracy.
-
-
- AUTHOR
- John Mackin, Basser Department of Computer Science, Univer-
- sity of Sydney, Sydney, Australia; <john@cs.su.oz.AU>.
- Based on a Suntools program by John Walker, Autodesk, Inc.;
- <kelvin@acad.uu.NET>.
-
- ..............
-
- >If anyone knows if and where I can get the code I'd be very
- >appreciative. Thanks.
-
- >--
- >*-------------------------------------------------------------------------*
- >Robert D. Losee BITNET: ucas402@unlvm
- >University of Nebraska Internet: rlosee@unlinfo.unl.edu
- >326 Admin Bldg FAX: (402) 472-5280
-
-
- -------------------------------------------------------------------------
- Panos Economopoulos -- panos@csri.toronto.edu (ARPA/CSNet)
- University of Toronto {uunet, ...}!utcsri!panos (UUCP)
- panos@csri.utoronto (Bitnet)
- panos@csri.toronto.cdn (CDNnet/EAN/X.400)
-