Drawing lines of latitude is fairly easy.
If cx
and cy
are the center of the sphere and r
is the radius...
The center of the ellipse for a given latitude is:
(cx, cy + r * Math.sin(latitude) * Math.cos(alpha))
the major radius is:
r * Math.cos(latitude)
and the minor radius is:
r * Math.cos(latitude) * Math.sin(alpha)