What does Flying-Star Light, Sound and Timing conclude, in numbers, about “The Twenty-Four Houses of Period 9: A Sound and Light Prescription for Each”?

Answer: Chapters 2 and 3 go mountain by mountain through periods 9 and 8, Chapter 4 writes the nine star numbers as nine sound-and-light fields, Chapter 5 covers the eighty-one mountain-facing combinations, Chapter 6 the timing of the 78 axes, and Chapter 7 merges a palace's star pair and a time window into a schedule.

Scope of the numbers: Both traditions are stated exactly and computed to the end by their own arithmetic; the combination of the three is the book's prescription and a testable hypothesis, not a demonstrated effect. Marked boxes separate published evidence, runnable Python calculations, classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it.

ren sits N faces S | shuang xing hui xiang | mountain side fu yin
SE 4-5(8) S9-9(4) SW 2-7(6)
E3-6(7) C 5-4(9) W 7-2(2)
NE 8-1(3) N1-8(5) NW 6-3(1)
zi sits N faces S | shuang xing hui zuo | mountain side fan yin
SE 6-3(8) S1-8(4) SW 8-1(6)
E7-2(7) C 5-4(9) W 3-6(2)
NE 2-7(3) N9-9(5) NW 4-5(1)
gui sits N faces S | shuang xing hui zuo | mountain side fan yin
SE 6-3(8) S1-8(4) SW 8-1(6)
E7-2(7) C 5-4(9) W 3-6(2)
NE 2-7(3) N9-9(5) NW 4-5(1)
chou sits NE faces SW | shuang xing hui xiang | none
SE 2-7(8) S7-2(4) SW 9-9(6)
E1-8(7) C 3-6(9) W 5-4(2)
NE 6-3(3) N8-1(5) NW 4-5(1)
gen sits NE faces SW | shuang xing hui zuo | none
SE 4-5(8) S8-1(4) SW 6-3(6)
E5-4(7) C 3-6(9) W 1-8(2)
NE 9-9(3) N7-2(5) NW 2-7(1)
yin sits NE faces SW | shuang xing hui zuo | none
SE 4-5(8) S8-1(4) SW 6-3(6)
E5-4(7) C 3-6(9) W 1-8(2)
NE 9-9(3) N7-2(5) NW 2-7(1)
jia sits E faces W | shuang xing hui xiang | none
SE 6-3(8) S2-7(4) SW 4-5(6)
E5-4(7) C 7-2(9) W 9-9(2)
NE 1-8(3) N3-6(5) NW 8-1(1)
Show the full program
# Chapter 2. p10: The 24 house charts of period 9, computed, not recalled.
# Same flight arithmetic as the house xuankong book (its p02): the
# period chart has 9 in the centre and flies forward along the path
# C, NW, W, NE, S, N, SW, E, SE. The mountain-star chart takes as its
# centre the period number in the sitting palace, the facing-star chart
# the number in the facing palace; each flies forward or backward by the
# polarity of the mountain in the same position (earth, heaven, man)
# inside the palace whose Lo Shu number equals that centre (for a 5, the
# palace where the 5 stands). Plain charts only (no replacement stars).
# Per house the program prints the class, any whole-chart pattern
# (fu yin: a side chart centred on 5 flown forward, i.e. the Lo Shu
# itself; fan yin: flown backward; he shi: period + side star = 10 in
# every palace) and the grid, south at the top, each cell written
# mountain-facing(period).
LOSHU = {"SE": 4, "S": 9, "SW": 2, "E": 3, "C": 5, "W": 7,
         "NE": 8, "N": 1, "NW": 6}
PATH = ["C", "NW", "W", "NE", "S", "N", "SW", "E", "SE"]
OPP = {"N": "S", "S": "N", "E": "W", "W": "E", "NE": "SW", "SW": "NE",
       "NW": "SE", "SE": "NW"}
PAL_ORDER = ["N", "NE", "E", "SE", "S", "SW", "W", "NW"]
GRID = [["SE", "S", "SW"], ["E", "C", "W"], ["NE", "N", "NW"]]
MOUNTAINS = ("ren zi gui chou gen yin jia mao yi chen xun si bing wu "
             "ding wei kun shen geng you xin xu qian hai").split()
PERIOD = 9

def norm(x):
    return (x - 1) % 9 + 1

def fly(c, sign):
    return {p: norm(c + sign * k) for k, p in enumerate(PATH)}

def polarity(number, pos):
    return (1, -1, -1)[pos] if number in (1, 3, 7, 9) else (-1, 1, 1)[pos]

def side(base, pal, pos):
    n = base[pal]
    sign = polarity(LOSHU[pal] if n == 5 else n, pos)
    return fly(n, sign), sign

def chart(period, i):
    base = fly(period, 1)
    sit = PAL_ORDER[i // 3]
    face = OPP[sit]
    m, ms = side(base, sit, i % 3)
    f, fs = side(base, face, i % 3)
    return base, m, f, sit, face, ms, fs

def classify(period, i):
    base, m, f, sit, face, ms, fs = chart(period, i)
    if m[sit] == period and f[face] == period:
        return "wang shan wang xiang"
    if m[face] == period and f[sit] == period:
        return "shang shan xia shui"
    if m[face] == period and f[face] == period:
        return "shuang xing hui xiang"
    return "shuang xing hui zuo"

def patterns(period, i):
    base, m, f, sit, face, ms, fs = chart(period, i)
    out = []
    for name, ch, s in (("mountain", m, ms), ("facing", f, fs)):
        if ch["C"] == 5:
            out.append("{} side fu yin".format(name) if s > 0
                       else "{} side fan yin".format(name))
        if all(base[p] + ch[p] == 10 for p in PATH):
            out.append("he shi, {} side".format(name))
    return out or ["none"]

if __name__ == "__main__":
    tally = {}
    for i, name in enumerate(MOUNTAINS):
        base, m, f, sit, face, ms, fs = chart(PERIOD, i)
        cls = classify(PERIOD, i)
        tally[cls] = tally.get(cls, 0) + 1
        print("{:5s} sits {:2s} faces {:2s} | {} | {}".format(
            name, sit, face, cls, "; ".join(patterns(PERIOD, i))))
        for row in GRID:
            print("      " + "   ".join("{:2s} {}-{}({})".format(
                p, m[p], f[p], base[p]) for p in row))
    print("\nperiod {} classes: ".format(PERIOD) + ", ".join(
        "{} {}".format(k, v) for k, v in sorted(tally.items())))

Single source and citation

Fan, Y. (2026). The Xuankong Flying-Star Sound-and-Light Field and Hamburg Midpoint Timing Codex (Version 1.0.0), Chapter 2: The Twenty-Four Houses of Period 9: A Sound and Light Prescription for Each. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-122 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026122,
  author    = {Fan, Yafu},
  title     = {The Xuankong Flying-Star Sound-and-Light Field and Hamburg Midpoint Timing Codex},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book