Projects / Computational Astrology Engine
Complex Systems Engineering

๐Ÿ“ Computational Astrology & Mathematical Modeling Engine

A professional-grade computational suite for high-precision astronomical mechanics โ€” implementing recursive multi-level timing algorithms, harmonic divisional systems, and interactive 3D celestial modeling.

50+Python Modules
16Harmonic Systems
5-LevelRecursive Logic
15+Analytical Subsystems
Pythonpyswisseph (C-Bridge)Streamlit Plotly 3DRecursive AlgorithmsSVG RenderingGeometric Modeling
โ† All Projects

TL;DR โ€” Engineering Summary

The Engineering Challenge: Algorithmic Rigor

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:

High-Precision Data Acquisition

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.

Recursive Tree Structures

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.

Modular Rule Engines

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.

Dynamic Geometric Visualization

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.

Core Computational Subsystems

๐Ÿช Precision Astronomy Engine (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.

โณ Recursive Timing Algorithms (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.

๐Ÿ’ช Quantitative Strength Modeling (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.

๐Ÿ“ Geometric Analysis & Stellar Systems (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.

Architectural Significance

This project is a demonstration of domain-agnostic architectural thinking. It shows the ability to formalize a massive, ambiguous rule set into a clean, modular, and mathematically rigorous software product.

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.

โ† All Projects