/** This draws the current view of Jupiter and its moons using the routines
    in planets.frink.
*/

use planets.frink

a = new Animation[1/30 s]

for d = now[] to now[] + 1 month step 20 minutes
{
   println[d]
   g = Planet.drawJupiterMoonsUnrotated[d, 0, 0, 1]
   g.color[0,0,0,0]
   g.drawRectSides[-27,-2,27,2]
   a.add[g.invertGrays[]]
}

a.write["JupiterMoons.gif", 800, 80]