A professional-grade computational suite for high-precision astronomical mechanics โ implementing recursive multi-level timing algorithms, harmonic divisional systems, and interactive 3D celestial modeling.
The goal of this project was to take a deeply interconnected, rule-heavy traditional system and translate it into a modern software architecture. This involved solving several core engineering problems common in complex domain modeling:
Planetary coordinates require arcminute accuracy for micro-divisional calculations. Using the Swiss Ephemeris (C-Bridge) ensures astronomical fidelity, while Ayanamsa correction algorithms transform Tropical coordinates into Sidereal reference frames.
The timing engine requires recursive subdivision of a 120-year timeline into 5 nested levels. The starting point is determined by a sub-degree proration formula, requiring a clean recursive implementation to maintain precision across levels.
With 15+ distinct analytical systems running on the same data, the architecture prioritises separation of concerns. Each system (Jaimini, KP, Shadbala) is isolated as a module, consuming standardized astronomical objects and returning structured findings.
The UI renders SVG-based coordinate systems, 3D geocentric solar system simulations, and polar radar diagrams. These visualizations allow for immediate validation of the underlying mathematical models.
astro_calc.py)Calculates planetary longitudes and speeds.
Implements 16 harmonic divisional systems using the multiplier formula: Longitude_Varga = (Natal_Longitude ร Varga_Multiplier) mod 360. Handles combustion
detection and planetary dignity logic via deterministic rule sets.
dasha_calc.py)Generates nested planetary periods using a recursive tree builder. The fractional start of the tree is prorated based on the Moon's exact position within a 13.33ยฐ segment, cascading through five layers of temporal resolution.
shadbala_deep.py)A six-fold quantitative model measuring planetary influence in standardized units (Rupas). Includes positional, directional, motional, temporal, and natural luminosity factors, visualized via integrated radar charts for rapid profile analysis.
kp_system.py)Implements unequal house systems (Placidus)
and sub-division logic. Each 13.33ยฐ segment is unequally divided based on Dasha year proportions: Sub_Arc = (Planet_Years / 120) ร 13.33ยฐ. This system focuses on high-resolution event
timing.
The patterns developed here โ modular rule engines, recursive timeline subdivision, and high-precision numerical bridges โ are directly transferable to any complex system modeling task, from financial risk engines to bioinformatics validation pipelines.