This article presents the theoretical basis for a computer program designed to calculate hour lines for various northern hemisphere sundials (direct, declining, vertical, reclining, inclining). It outlines using spherical trigonometry formulas to determine dial plane elements and hour line angles. The author emphasizes robust programming to handle issues like division by zero and inverse trigonometric ambiguities, providing simplified BBC Basic and design guidance.
Dialling Tools,
Mathematics of Dialling,
Sundial Design & Layout