What does Flying Stars, Compass and Facial Ratios conclude, in numbers, about “Shen Kuo on the Compass, and the Texts of Xuankong and Physiognomy”?
Answer: The program gives each method an illustrative reading error: 6 degrees floated on water, 4 on a fingernail or a bowl rim, 1.5 hung from silk. For a uniform facing, the floating needle names the wrong mountain with chance 0.3192 and the wrong palace with 0.1064; the hanging needle only 0.0798 and 0.0266. If "slightly east" is 3 degrees, 0.2000 of facings change mountain when it is not corrected. In choosing the silk thread Shen Kuo chose the smallest measurement error; his note on the eastward lean reminds every compass user to state which north is meant.
Scope of the numbers: Compass errors, declinations, facial dimensions and landmark errors are illustrative parameters; chart rules follow conventions stated in the book. Marked boxes separate evidence, runnable Python programs, classical sources and hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.0266, 0.0798, 0.1064, 0.2000, 0.3192, 1.5
| method sigma wrong mountain wrong palace | |
| floated on water | 6.0 0.3192 0.1064 |
| on a fingernail | 4.0 0.2128 0.0709 |
| on a bowl rim | 4.0 0.2128 0.0709 |
| hung from a silk thread | 1.5 0.0798 0.0266 |
| declination 1 deg moves 0.0667 of facings | |
| declination 3 deg moves 0.2000 of facings | |
| declination 5 deg moves 0.3333 of facings | |
| periods x years | 9 x 20 = 180 years |
| ordinary charts | 24 x 9 = 216 |
| with replacement charts | 432 |
Show the full program
# Chapter 7. p14: Shen Kuo's four ways to hang a needle, and the counts
# behind the classical charts.
# Shen Kuo compares a needle floated on water, balanced on a fingernail,
# balanced on the rim of a bowl, and hung from a single silk thread,
# and notes that the needle points slightly east of south. We give each
# method an illustrative reading error sigma (degrees) and compute the
# chance of naming the wrong mountain (15 degrees) or the wrong palace
# (45 degrees) for a uniform facing: E|error| / width, with
# E|error| = sigma sqrt(2 / pi). A steady declination d moves a share
# d / 15 of facings to the next mountain. Last, the counts that frame
# the classical method: 9 periods of 20 years; 24 mountains x 9
# periods ordinary charts; the same again as replacement charts.
import math
METHODS = [("floated on water", 6.0), ("on a fingernail", 4.0),
("on a bowl rim", 4.0), ("hung from a silk thread", 1.5)]
if __name__ == "__main__":
print(" method sigma wrong mountain"
" wrong palace")
for name, s in METHODS:
e = s * math.sqrt(2 / math.pi)
print(" {:24s} {:6.1f} {:16.4f} {:14.4f}".format(
name, s, e / 15, e / 45))
for d in (1.0, 3.0, 5.0):
print(" declination {:.0f} deg moves {:.4f} of facings".format(
d, d / 15))
print("\n periods x years: {} x {} = {} years".format(9, 20, 9 * 20))
print(" ordinary charts: {} x {} = {}".format(24, 9, 24 * 9))
print(" with replacement charts: {}".format(2 * 24 * 9))Single source and citation
Fan, Y. (2026). Xuankong Flying-Star Permutations, Twenty-Four-Mountain Compass Discretization and Craniofacial Ratio Metrology (Version 1.0.0), Chapter 7: Shen Kuo on the Compass, and the Texts of Xuankong and Physiognomy. 5D Library. https://doi.org/10.5281/zenodo.24090215
DOI: 10.5281/zenodo.24090215 · Read the monograph · 5DL-B-082 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026082,
author = {Fan, Yafu},
title = {Xuankong Flying-Star Permutations, Twenty-Four-Mountain Compass Discretization and Craniofacial Ratio Metrology},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090215},
url = {https://doi.org/10.5281/zenodo.24090215}
}Other chapter answers in this book
- Chapter 1 · The Lo Shu, the Flight Path and the Dihedral Group
- Chapter 2 · Sum to Ten, Three Combinations and the Conventions of Replacement
- Chapter 3 · Discretising Twenty-Four Mountains and Compass Error
- Chapter 4 · Thirds, Five Eyes, the Golden Ratio and Selfie Perspective
- Chapter 5 · Landmark Error and the Barnum Effect
- Chapter 6 · The Royal Cubit, Canons of Proportion and Evidence
- Chapter 8 · A Ten-Flag Audit and a Pre-Registered Blind Paired Test