Back to portfolio

Independent web app experience

ritual interface // deterministic core

Divine Machine Fu Ji 福机

福机:以机械演算模拟“神谕感”的实验。

A red-chamber divination simulator with four ritual layers: Bagua casting, moon blocks, fortune sticks, and scapula crack traces. It is not metaphysics. It is commentary on how sufficiently complex deterministic systems can feel like fate from the inside.

5 / 9

Reading

Mechanism inspector

Seed:

Entropy estimate:

Deterministic source: question + intensity + seed

The same inputs reproduce the same output. The mystical feel comes from complexity and partial observability, not magic.

Bagua Cast

Moon Blocks (Hexagram Lines)

    Fortune Sticks (Lot Draw)

    Scapula Burn Trace

    historical context

    Fu Ji references real divination lineages 福机

    这些方法来自不同历史时期,但共享同一结构:提出问题、执行仪式化随机、再进行人类解释。

    Historical Bagua diagram

    Bagua (Eight Trigrams)

    The eight-trigram system in Yijing traditions maps patterned change rather than fixed fate. In this app it becomes a symbolic interface for state transitions.

    Moon blocks (jiaobei) used in temple divination

    Moon Blocks (Jiaobei / Poe)

    Jiaobei are paired crescent blocks thrown after a question to request directional confirmation from a deity. The result is read as a constrained answer pattern.

    Kau cim fortune sticks in a temple container

    Fortune Sticks (Kau Cim / Qiuqian)

    A numbered bamboo lot system: shake until one stick emerges, then map the number to an interpretive poem or oracle text. This is procedural randomness coupled with narrative decoding.

    Shang dynasty scapula oracle bones

    Scapulimancy (Oracle Bones)

    In Shang-era China, heated ox scapulae were read for crack patterns and inscriptions. It is an early example of a formalized input-process-interpretation pipeline.

    mathematical framing

    Each method is a constrained possibility space

    Bagua cast

    Ω = T_upper × T_lower

    |Ω| = 8 × 8 = 64 trigram pairs.

    Determinism in this app: pair index is generated by seeded PRNG. Same seed and settings reproduce the same pair.

    Moon blocks / line state

    line ~ 3 Bernoulli tosses

    |Ω_line| = 8, |Ω_6lines| = 8^6 = 262,144 microstates.

    We collapse microstates into yin/yang + changing flags, so interpretation is a projection from a larger combinatorial space.

    Fortune sticks (kau cim)

    lot ~ Uniform(1..60)

    |Ω| = 60, one discrete lottery draw per cast.

    Each lot maps to a fortune tier + guidance text. Random draw is discrete; interpretation is semantic.

    Scapula trace

    trace = f(seed, intensity) over continuous path parameters.

    Crack geometry is sampled in a high-dimensional parameter space, then rendered as SVG control points.

    It looks organic, but the generator is algorithmic and reproducible from the same input tuple.

    interpretation layer

    AI as Divination

    This project treats inference like ritual: input patterns, transformation rules, and an output that feels personal. The argument is not that LLMs are mystical. It is that our experience of them can resemble divination when causal chains are too complex to track in real time.

    In that sense, randomness is often a practical limit of human prediction, not a break in mechanism.