Is there a package (or packages) for drawing the Sun–Earth–Moon system with either PSTricks, TikZ, or some other vector graphics language to illustrate Lunar and Solar eclipses, the phases of the Moon, and the seasons on the Earth?
I know of pst-solarsystem
but it is not what I'm looking for; here, it is 'only' possible to draw the planets moving in circular orbits around the Sun.
Best Answer
A couple of months ago, I produced a
beamer
/tikz
animation (available on texample.net) of the Earth's orbit around the Sun to illustrate the counterintuitive fact that Earth is farther from the Sun in Summer than it is in Winter. I used that example to demonstrate the power of inducing (and then resolving) cognitive dissonance in the classroom.I've modified it to also show the Moon following an elliptical orbit around the Earth. (Of course, the Moon's orbit around the Earth is really only approximately elliptical, and does not lie in the Ecliptic Plane.) You can change the positions visited by the Earth and the Moon along their respective orbits (simply change how
\Earthangle
and\Moonangle
are defined in the body of the\foreach
, and/or modify the value of\N
).Here is non-animated version in the
article
class.