紫紫微笔记 在线排盘

紫微笔记 › 源流篇

源流篇

一门学问从抄本到软件:紫微斗数的形成、典籍与传布

一、在传统学问中的位置

中国古代星象与历法之学大致有几条脉络:以年月日时干支排四柱、论五行的子平八字; 以日月五星与二十八宿行度为框架的七政四余(代表作常题作《果老星宗》); 以及以北极紫微垣诸星为名号、按宫位布列星曜的紫微斗数。

三者各有各的"语言":八字以干支与十神论生克,七政四余以真实天象行度论照, 而紫微斗数则是把一百余颗星曜安放进一张十二格的方图里,用星曜的性格、庙旺与四化, 讲一套人事与心性的象征系统。它并不依赖实观测算,而是一套高度符号化的象义体系—— 这也是它在民间流传最广的原因之一:一张盘一眼看尽,人人都能说上两句。

二、由"十八飞星"到"紫微斗数"

紫微斗数并非横空出世。研究者普遍注意到它与另一套更古老的系统——十八飞星——之间的亲缘关系。 十八飞星同样以紫微、天虚、天贵、天印等十八颗星分布十二宫,起例与断法与后来的紫微斗数有清晰的重叠, 被认为是后者的前身或并行系统。

今本紫微斗数的骨架可以概括为:以出生年干支定五行局与紫微星位置, 以出生月、时安其余诸星,以年干起四化, 再依十二宫展开人事。与十八飞星相比,它的星曜数目大幅扩充(十四主星加数十辅佐煞曜), 四化的作用被提到枢纽位置,论法也从"一星一断"走向"星曜组合 + 四化牵引"。

要读懂一门学问的演化,可看它的"词汇量":词汇越少越依赖单字直断,词汇越密越依赖组合与关系。 紫微斗数的扩充,本质上是把直断变成了造句。

三、托名之辨

旧题多把紫微斗数归于宋初道士陈抟(号希夷先生)所传,明代刻本又常见"陈抟撰、罗洪先注"的题署。 但就现存文献看,紫微斗数的完整体系在宋代文献中没有痕迹,其定型时间一般被认为不早于明代中期。

这种"托名前贤"的做法,在历代典籍中极为常见:借一个响亮的名字,既便于流传,也便于立说。 因此阅读古籍时,宜把作者题署当作流传标记而非史实记录;真正可考的是版本与内容本身。

提示:对源流的判断,应以存世版本、书目著录与文本内证为依据,不以坊间传说为准。

四、主要典籍

典籍大致年代/版本要点
《十八飞星策天紫微斗数》 明以前旧法,明清有传抄 十八颗星布十二宫,被视为紫微斗数的前身系统,可与今本对照读。
《紫微斗数全集》 明代刊本,清代多有翻刻 体系较完整,含安星法、星曜赋文与格局条目,是今人最常用的古本之一。
《紫微斗数全书》 明清刻本,卷数不一 常见"陈抟撰、罗洪先注"题署,内容以星情赋文与断语为主。
《斗数宣微》等清人撰述 清代至民国 偏重实务与口诀整理,是流派分化前的过渡形态。

这些书有个共同特点:重赋文、轻论证。它们给出大量四言、七言的星情断语与格局名目, 却很少解释"为什么"。后世不同流派的分歧,多半就出在如何解释这些断语上。

五、近现代与流派

紫微斗数在二十世纪下半叶于港台地区得到系统整理,逐渐形成几种影响较大的讲法:

三派并非互斥,更多是取象的角度不同:同一张盘,三合看"有哪些星聚在一起", 四化看"哪两个宫之间发生了牵引",中州看"这颗星在此处到底取哪一面"。 现代学习者常以三合打底、以四化看变化,是较为通行的路径。

六、进入数字时代

排盘原本是一件苦差事:安星要查多张表,闰月、节气、真太阳时都要人工校正。 上世纪九十年代起,电脑排盘程序出现,把这套查表工作自动化, 紫微斗数才真正从小众抄本走向大众。

近年更出现了把规则写成程序、由模型生成解读文本的做法——本站提供的 桌面工具即属此类。它把安星、宫位、四化等规则固化成可复算的代码, 再由语言模型组织成文;好处是排盘结果稳定可复现, 但解读文本终究是一种文本创作,其价值在于提供一面文化的镜子,而非给出确定的答案。

史料与传说请分开看:本站所述源流以存世文献与通行研究为据,涉及托名、成书年代之处均标注了存疑。

下一篇:星曜篇 ›

Ziwei Notes › History

History & Sources

From manuscript to software: how Zi Wei Dou Shu took shape, its texts, and how it spread

1. Its place among the arts

Chinese fate calculation has roughly three strands: Zi Ping Ba Zi, which sets four pillars from the gan-zhi of year, month, day and hour and reasons through the five phases; Qi Zheng Si Yu, built on the motion of sun, moon, planets and the twenty-eight mansions (its classic is usually titled Guo Lao Xing Zong); and Zi Wei Dou Shu, which takes the stars of the Purple Forbidden Enclosure near the north pole as its names and lays them out across a grid of palaces.

Each has its own "language": Ba Zi speaks through gan-zhi and the ten gods, Qi Zheng Si Yu through celestial positions and aspects, while Zi Wei Dou Shu places a hundred-plus stars into a twelve-square diagram and, through their temperament, brightness and Four Transformations, builds a symbolic system of human affairs and character. It does not depend on observation or computation — it is a highly codified system of images. That is part of why it spread so widely: a chart can be taken in at a glance, and anyone can say a few words about it.

2. From "Eighteen Flying Stars" to Zi Wei Dou Shu

Zi Wei Dou Shu did not appear out of nowhere. Researchers have long noted its kinship with an older system, the Eighteen Flying Stars. That system likewise distributes eighteen stars — Zi Wei, Tian Xu, Tian Gui, Tian Yin and so on — across the twelve palaces; its rules and judgments overlap clearly with the later art, and it is regarded as the predecessor or a parallel branch of Zi Wei Dou Shu.

The skeleton of the received system can be summarised thus: the gan-zhi of the birth year fixes the five-element phase and the position of Zi Wei; the month and hour place the remaining stars; the yearly stem raises the Four Transformations; and human affairs are then unfolded through the twelve palaces. Compared with the Eighteen Flying Stars its star count is greatly expanded (fourteen major stars plus dozens of auxiliaries and harmful stars), the Four Transformations are promoted to a pivotal role, and judgment moves from "one star, one verdict" toward "star combinations pulled by the Four Transformations".

To read the evolution of such an art, look at its vocabulary: the smaller the vocabulary, the more it relies on single-word verdicts; the denser the vocabulary, the more it leans on combinations and relations. The expansion of Zi Wei Dou Shu essentially turned verdicts into sentences.

3. The question of authorship

Older copies usually credit the art to the early Song Daoist Chen Tuan (styled Xiyi), and Ming editions often bear the line "compiled by Chen Tuan, commented by Luo Hongxian". Yet on the surviving evidence the complete system leaves no trace in Song literature, and its formation is generally dated no earlier than the mid-Ming.

Attributing a work to an earlier master is extremely common in this literature: a famous name helps a text travel and helps a doctrine gain authority. When reading these books, therefore, one should treat the author line as a marker of transmission rather than a historical record; what can actually be examined is the edition and the content.

Note: judgments about origins should rest on surviving editions, bibliographic records and internal evidence — not on popular lore.

4. The main texts

TextDate / editionWhat it offers
Eighteen Flying Stars Ce Tian Zi Wei Dou Shu Pre-Ming method; copied through Ming and Qing Eighteen stars across twelve palaces; regarded as the predecessor system, useful to read beside the received version.
Zi Wei Dou Shu Quan Ji (Complete Works) Ming printed edition, often reprinted in Qing A relatively complete system — star placement, star verses and pattern entries — and one of the most used old texts today.
Zi Wei Dou Shu Quan Shu (Complete Book) Ming–Qing editions, varying scroll counts Usually carries the "Chen Tuan compiled, Luo Hongxian commented" line; content is largely star verses and verdicts.
Dou Shu Xuan Wei and other Qing works Qing to Republican era Practice-oriented collections of formulas; a transitional form before the schools diverged.

These books share one trait: heavy on verse, light on argument. They offer quantities of four- and seven-character star verses and named patterns, but rarely explain "why". Most later disagreements between schools come down to how those verses are interpreted.

5. Modern times and the schools

In the second half of the twentieth century the art was systematically reorganised in Hong Kong and Taiwan, and several influential approaches took shape:

The three are not mutually exclusive; they differ in the angle from which an image is taken. On one chart, San He asks "which stars gather here", Si Hua asks "which two palaces are pulling at each other", Zhong Zhou asks "which face of this star is being used in this position". Modern students typically ground themselves in San He and use Si Hua to read change — the most common path today.

6. Into the digital age

Casting a chart used to be drudgery: placing stars meant consulting many tables, and intercalary months, solar terms and true solar time all had to be corrected by hand. From the 1990s computer programs automated that table work, and only then did the art move from a handful of manuscripts to a mass audience.

More recently, rules have been written as code and texts generated by models — the desktop tool offered here is of that kind. It fixes star placement, palaces and transformations into reproducible code, then has a language model compose the prose. The benefit is that the chart itself is stable and reproducible; but the reading text remains a piece of writing, valuable as a cultural mirror rather than as a definitive answer.

Keep sources and legends apart: the history given here rests on surviving texts and mainstream research, and passages involving attribution or dating are flagged as uncertain.

Next: The Stars ›