An open-source Purple Star Astrology charting engine based on Ni Hai-xia's Tian Ji teachings. It includes full chart algorithms, four-transformations logic, pattern knowledge, and classical text data.
Overview
This project publishes the core algorithms and reference data for Zi Wei Dou Shu (Purple Star Astrology) charting in line with Ni Hai-xia's Tian Ji framework. The engine covers complete chart calculation, the four transformations system, pattern libraries, and corpora of classical source text.
Released datasets pair millions of precomputed chart interpretations with structured birth inputs, distributed in large compressed archives by year. A separate research tree documents frame-by-frame study notes and summaries tied to Tian Ji lecture material, with Cornell-style notes and redrawn diagrams.
The codebase includes regression tests for chart output, modules for true solar time, China daylight saving spans, lunar–solar conversion, school-specific brightness tables, and related calendar adjustments. A demo interface illustrates engine use but is not identical to the public Ouranic web product.
Ouranic is an online platform for charting, AI-assisted reading, synastry, and traditional study resources; this work focuses on the engine, data releases, and research artifacts rather than that hosted service.
Key features
- Full Zi Wei Dou Shu chart algorithms
- Four transformations and pattern library
- Classical text and interpretation datasets
- True solar time and DST helpers
- School-specific star brightness tables
- Tian Ji lecture research notes corpus
- Multi-language project documentation
Use cases
- Building custom astrology chart software
- Studying Ni Hai-xia Tian Ji chart rules
- Training or validating interpretation pipelines
- Research on traditional chart corpora