slug: casting-i-ching-5-methods-liu-yao-mei-hua-yarrow-stalks
title: "Casting the I Ching: 5 Methods from Classical Yarrow Stalks to Mei Hua Numerology" lang: en excerpt: "Explore 5 I Ching divination methods: Three Coins, Yarrow Stalks, Mei Hua Time-based, Mei Hua Number-based, and Manual Input — comparing probabilities, historical origins, and simulation algorithms." publishedat: "2026-04-04T07:15:27.611Z" updatedat: "2026-07-31T11:47:13.088Z"
Casting the I Ching: 5 Methods from Classical Yarrow Stalks to Mei Hua Numerology
易經卜筮 — Architecture and Methodology of Multi-School I Ching Divination
The QuizzMan I Ching Divination tool is the first multi-school divination platform in Vietnam, integrating three synthesis methodologies simultaneously: Classical (Ten Wings 十翼), Liu Yao (六爻), and Mei Hua Numerology (梅花易数). The system genuinely "casts" hexagrams using simulation algorithms for coins and yarrow stalks, synthesizing results through a natural language processing pipeline.
1. Three Coins (三銅錢) — The Universal Method
Simulates tossing 3 coins 6 times sequentially. Each toss sums values yielding 6, 7, 8, or 9. Lines with values of 6 or 9 are moving lines. The algorithm uses a CSPRNG (crypto.getRandomValues) to guarantee cryptographic randomness rather than relying on pseudo-random Math.random().
Probabilities: Old Yin (6) = 12.5%, Young Yang (7) = 37.5%, Young Yin (8) = 37.5%, Old Yang (9) = 12.5%.
2. Yarrow Stalks (蓍草) — The 3,000-Year-Old Classical Method
Simulates partitioning 50 yarrow stalks across 18 steps (3 transformations × 6 lines). Originating from the Xici Zhuan (繫辭傳, Great Commentary), this method was created by Fu Xi (伏羲) and perfected by King Wen of Zhou (周文王).
Probabilities diverge significantly from the coin method: Old Yin accounts for only 6.25%, whereas Old Yang reaches 18.75%. This represents a Yin-biased distribution driven by a Markov chain — where each transformation depends on the outcome of the preceding step.
3. Mei Hua Numerology — Time-based (梅花易数·时间)
Derives the actual Heavenly Stems and Earthly Branches (Gan-Zhi) for the current year, month, day, and hour (GMT+7). Upper trigram = (year + month + day) mod 8; lower trigram adds the hour; moving line = total sum mod 6. Founded by Shao Yong (邵雍) during the Northern Song Dynasty.
4. Mei Hua Numerology — Number-based (梅花易数·数字)
Accepts 1 or 2 arbitrary user-entered numbers. First number mod 8 → upper trigram; second number mod 8 → lower trigram; total sum mod 6 → moving line. Ideal when using phone numbers, license plates, or birth dates.
5. Manual Input (手動輸入) — Custom Configuration
Allows direct entry of 6 line values (6–9) from Line 1 to Line 6 . Useful when practitioners have already cast a hexagram using physical coins or yarrow stalks and seek automated synthesis and analysis.
Probability Comparison Table
Value | Line Type | Three Coins | Yarrow Stalks
6 — Old Yin × | ⚋ moving → yang | 12.5% | 6.25%
7 — Young Yang | ⚊ static | 37.5% | 31.25%
8 — Young Yin | ⚋ static | 37.5% | 43.75%
9 — Old Yang ○ | ⚊ moving → yin | 12.5% | 18.75%
Key Features of the System
Accurately simulates exact classical probabilities for each method
Comprehensive dataset of 64 hexagrams × 6 lines complete with Chinese characters, transliteration, and translated interpretations
Integrated Gan-Zhi calendar calibrated to Vietnamese local time (GMT+7)
NLP query analysis tailored to domain-specific guidance
Shareable result snapshots via direct URL links
Access the tool at lab.quizzman.com/tool/iching-divination