The tikz-3dplot-circleofsphere Package: Drawing circles of a sphere with tikz-3dplot
- A circle of a sphere is a circle drawn on a spherical surface like, for instance, circles of latitude or longitude. Circles in arbitrary 3D positions can be drawn with TikZ very easily using a transformed coordinate system provided by the tikz-3dplot package (that is because TikZ can only draw circles on the xy-plane). However, automatically distinguishing the parts of the circle lying on the front and back sides of the sphere, e.g. by drawing a solid arc on the front side and a dashed one on the back side, is a somewhat tricky feat. The tikz-3dplot-circleofsphere package will perform that feat for you.