Caste & Cosmology
Maths · Keplerian frame

கணித வடிவம்The maths behind the orrery

Real two-body mechanics, real J2000.0 elements, deterministic. The orrery is reproducible: give it an era-week seed and it produces the same configuration every time. Nothing here predicts a person's future; it documents how nine bodies actually move under Newtonian gravity, and uses that as a mnemonic for nine structural patterns in the caste record.

This is not jyotiṣa

The discipline cited is graha-gaṇita — the mathematical-astronomical layer of classical jyotiṣa, documented as history of science by Pingree (1981; 1997) — not phalita (the predictive layer). The orrery is computational astronomy with civilisational labels, not forecast, not horoscopy.

Kepler's third law

T² = (4π² / μ) · a³

For heliocentric orbits, μ = G·M☉ ≈ 1.327 × 10²⁰ m³ s⁻². T is the sidereal period, a is the semi-major axis. The orrery uses periods derived directly from the J2000.0 elements (Standish & Williams, JPL Solar System Dynamics).

Vis-viva

v² = μ · (2/r − 1/a)

Instantaneous speed at radius r along an orbit of semi-major axis a. Used to verify the numerical integrator against the analytic solution at perihelion and aphelion.

Kepler's equation, solved by Newton-Raphson

M = E − e · sin E

M is the mean anomaly (advances linearly with time), E is the eccentric anomaly (the quantity we need to compute the position on the ellipse), e is the eccentricity. The equation is transcendental; we solve it iteratively:

E_(n+1) = E_n − (E_n − e · sin E_n − M) / (1 − e · cos E_n)

Convergence is quadratic for e < 1. We use 8 iterations with a tolerance of 10⁻¹². For the lunar nodes (Rāhu, Ketu) we substitute the 18.612958-year regression period rather than solve a Keplerian orbit — they are points, not bodies.

J2000.0 mean elements used

BodySanskrita (AU/km)ei (°)T (yr)L₀ (°)
SunSūrya0 AU000.0000.00
MoonChandra384,399 km0.05495.1450.075218.32
MarsMangala / Cevvāy1.524 AU0.09341.851.881355.45
MercuryBudha0.387 AU0.205637.0050.241252.25
JupiterBṛhaspati / Guru5.203 AU0.048392661.30511.86334.40
VenusŚukra0.723 AU0.006773233.3940.615181.98
SaturnŚani9.537 AU0.05415062.48529.45749.94
Lunar ascending nodeRāhu384,399 km0.05495.14518.613125.04
Lunar descending nodeKetu384,399 km0.05495.14518.613305.04

Determinism & era-week seed

The orrery's animation phase is seeded by ⌊now / (7·86400·1000)⌋ — a monotonically incrementing era-week index. Two visitors loading the page in the same era-week see the same configuration; the next era-week advances all bodies by exactly seven days of simulated motion. This makes the page archivable: the Continuity Changelog can record which era-week's configuration accompanied a publication.

Sources

  • NASA JPL, Approximate Positions of the Planets. ssd.jpl.nasa.gov/planets/approx_pos.html
  • Standish, E.M. & Williams, J.G., Keplerian Elements for Approximate Positions of the Major Planets. JPL Solar System Dynamics.
  • Pingree, D. (1981). Jyotiḥśāstra: Astral and Mathematical Literature. Harrassowitz.
  • Pingree, D. (1997). From Astral Omens to Astrology. IsIAO.