Transforming between Surface Cartesian Coordinate Axes
Click and drag A to change latitude and radius or N to change tilt towards the Sun. The blue axes are horizontal/vertical (zenith); the red equatorial/polar. Can you prove that the angles are labelled correctly?