<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: TianJi Astrology</title>
    <description>The latest articles on DEV Community by TianJi Astrology (@tianji-astrology).</description>
    <link>https://dev.to/tianji-astrology</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4100017%2Faef4d3b6-4f68-43e6-9a37-5a8c21466f9c.png</url>
      <title>DEV Community: TianJi Astrology</title>
      <link>https://dev.to/tianji-astrology</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tianji-astrology"/>
    <language>en</language>
    <item>
      <title>Building an Astrology Engine: Ephemerides, Aspect Math, and Where LLMs Actually Fit</title>
      <dc:creator>TianJi Astrology</dc:creator>
      <pubDate>Sat, 29 Aug 2026 13:51:39 +0000</pubDate>
      <link>https://dev.to/tianji-astrology/building-an-astrology-engine-ephemerides-aspect-math-and-where-llms-actually-fit-ccm</link>
      <guid>https://dev.to/tianji-astrology/building-an-astrology-engine-ephemerides-aspect-math-and-where-llms-actually-fit-ccm</guid>
      <description>&lt;p&gt;Astrology software looks like it should be trivial — dates and planet positions — until you meet the actual numerics. Building TianJi's chart engine taught us where the hard parts live.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ephemeris first.&lt;/strong&gt; You need planet positions accurate to arcminutes across decades. You either embed VSOP87 (analytic, ~200KB of series coefficients) or call Swiss Ephemeris (precise, native dependency). We embedded a compact analytic series: fast, dependency-free, accurate enough for house cusp and aspect work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Aspects are a tolerance-search problem.&lt;/strong&gt; A trine is a 120° separation with an orb (tolerance) of, say, 6°. Naively you compare all planet pairs — fine for 10 bodies. Add centaurs and asteroids and you're comparing 30+ bodies across time ranges to find when an aspect becomes exact. The interesting version is inverting the question: "when does this aspect next perfect?" — which becomes a root-finding problem over the ephemeris.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Timezones and birth data.&lt;/strong&gt; Birth time in 1987 in a city whose timezone rules changed twice since. Historical tz data (with LMT fallbacks for pre-standardization towns) is non-negotiable, or every ascendant is wrong by degrees.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where LLMs fit — and don't.&lt;/strong&gt; The model does not compute charts; it interprets them. We hand it the structured chart (verified by the engine) plus the user's question, and it produces the reading. Hallucination risk is contained by making the numeric layer authoritative: the LLM never generates positions, only prose about positions that already exist.&lt;/p&gt;

&lt;p&gt;That split — deterministic math core, generative language shell — is the architecture we'd recommend for any "AI + domain" product where the domain has exact facts.&lt;/p&gt;

&lt;p&gt;TianJi puts this in an app with daily transits, natal charts, and AI readings.&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>astronomy</category>
      <category>ai</category>
      <category>algorithms</category>
    </item>
    <item>
      <title>TianJi: Chinese Astrology (BaZi) Decoded in Plain English</title>
      <dc:creator>TianJi Astrology</dc:creator>
      <pubDate>Sat, 29 Aug 2026 10:38:51 +0000</pubDate>
      <link>https://dev.to/tianji-astrology/tianji-chinese-astrology-bazi-decoded-in-plain-english-26ck</link>
      <guid>https://dev.to/tianji-astrology/tianji-chinese-astrology-bazi-decoded-in-plain-english-26ck</guid>
      <description>&lt;p&gt;If you have ever tried to read a BaZi (Chinese Four Pillars) chart, you know the problem: it is a 2,000-year-old system written for classical scholars, not for modern readers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TianJi exists to fix that.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What TianJi does
&lt;/h2&gt;

&lt;p&gt;TianJi reads your birth date and time into a full Four Pillars chart, then translates it into plain English: your Day Master, elemental strengths, current luck pillar, and what this year's energies actually mean for career, relationships, and health.&lt;/p&gt;

&lt;p&gt;No memorizing Heavenly Stems. No guessing what "weak Wood" implies. Just clear, direct answers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built on classical rules, delivered by AI
&lt;/h2&gt;

&lt;p&gt;Every reading is grounded in traditional BaZi logic — the same rules a classical practitioner would apply — but explained the way a good teacher would: simply, with context, and without mysticism-for-mysticism's-sake.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Free daily insight and full chart readings are available now at &lt;a href="https://tianji-astrology.com" rel="noopener noreferrer"&gt;tianji-astrology.com&lt;/a&gt;. An Android app is on the way.&lt;/p&gt;

&lt;p&gt;Questions about your chart? Drop them in the comments — we read everything.&lt;/p&gt;

</description>
      <category>astrology</category>
      <category>ai</category>
      <category>zodiac</category>
    </item>
  </channel>
</rss>
