Download or view drawSaturn.frink in plain text format
/** This draws the current view of Saturn and its rings using the routines
in planets.frink.
*/
use planets.frink
lat = 40 deg North
long = 105 deg West
if length[ARGS] > 0
d = parseDate[ARGS@0]
else
d = now[]
g = Planet.drawSaturnRelativeToZenith[d, lat, long, 0, 0, 1]
g.invertGrays[].show[]
g.invertGrays[].write["drawSaturn" + (d->###yyyy-MM-dd###) + ".png", 800, undef]
Download or view drawSaturn.frink in plain text format
This is a program written in the programming language Frink.
For more information, view the Frink
Documentation or see More Sample Frink Programs.
Alan Eliasen was born 20145 days, 7 hours, 39 minutes ago.