Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

I Ching simulator with accurate Yarrow Stalk probabilities

Details

External ID
46261942
Source
HN
Company
—
Product
I Ching simulator with accurate Yarrow Stalk probabilities
Website domain
castiching.com
Launched
Dec. 14, 2025
Cohort
—
Upvotes
63
Upvotes percentile
0.8454198473282443
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

I built this because I wanted a digital I Ching that honors the original math, rather than just Math.random().Technical detail for the curious:The simulation follows the traditional Yarrow Stalk algorithm (Da Yan). The core of this algorithm relies on modulo-4 arithmetic on the stalks remaining after a random split.To make it physically realistic, I used a Box-Muller transform to simulate the user splitting the stalks with a Gaussian distribution (since humans naturally tend to split near the middle), rather than a uniform random split.I was worried this 'human bias' might skew the modulo probabilities, so I ran a 1-million-run Monte Carlo simulation to verify.The Result: The remainders [0,1,2,3] still emerged with a near-perfect 25% distribution (deviation < 0.05%).So, the app simulates the physics of human imperfection while preserving the mathematical perfection of the probability distribution (where Old Yin is 1/16).Stack: Next.js + Tailwind cssHappy to answer any questions about the math or the hexagrams!

Enrichment

Theme
scientific computing and deep tech tools
Vertical
Horizontal
Function
—
Audience
B2C
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
i ching divination simulator
Manually corrected
False

Could you build this?

Yes An I Ching simulator implementing the traditional modulo-4 Da Yan algorithm and displaying Wilhelm-Baynes translations is a purely client-side math and text application easily created by prompting.

Discussion

20 comments analyzed.

Competitors mentioned: classicofchanges.com, arrow.js, Next.js

Concerns raised: AI interpretations feel soulless or risky, State management complexity with probability calculations, Difficulty maintaining vanilla JS for complex logic

Feature requests: 3D simulation of yarrow stalk casting method, Shareable result cards with visual hexagram patterns, Reading persistence across browser sessions

Competitors

Other products that read as similar to this one — 25 launches clear the similarity bar, closest 8 shown.

Attention rank: #5 of 26 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 44 days after the earliest competitor.

Other launches for this product