Building a Saju (Korean Astrology) Calculator from Scratch in Python
The article discusses the creation of a Korean astrology calculator, known as Saju, using Python. It explains the mathematical principles behind Saju, including the use of solar terms and the late-Zi hour rule. The author invites feedback on the calculator, which is freely accessible online.
- ▪Saju is based on the Chinese 4-pillar astrology system and uses birth year, month, day, and hour to create an energetic signature.
- ▪The calculator implements the Meeus astronomical algorithm to determine solar terms accurately.
- ▪The day pillar in Saju transitions at 23:00 local time, which is a common error in online calculators.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3934770) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } iambox leekyuha Posted on May 16 • Originally published at tarofortune.pythonanywhere.com Building a Saju (Korean Astrology) Calculator from Scratch in Python #python #webdev #showdev #astronomy I built a free Korean astrology (Saju) calculator and wanted to share what makes the math interesting. What's Saju? Saju is the Korean tradition of Chinese 4-pillar astrology (BaZi).
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).