DanEnright.com

Javascript I Ching Reading

Click Here for an updated framed version.

There are many javascript I Ching scripts on the internet, but they're all based (as far as my research can determine) on the coin tossing method of hexagram generation. This version, on the other hand is based on the yarrow stalk method.

The result is the immediacy of the coin tossing method with the reliability of the yarrow stalk method.

For a reading, click on the "Consult the Oracle" button. A small window will appear. Click on the "Create Hexagram(s)" button to generate the hexagrams. Red indicates a changing line. Clicking on the "Hexagram 1" & "Hexagram 2" buttons will replace this page with the corresponding hexagram's details (clicking inside the small window before clicking on the hexagram page will cause the small window to re-appear after a few seconds). Clicking on the "Close Window" button will close the small window.

I've created an IChing.zip file and an IChing.tar.gz file for folks who'd like to to have their own versions of the script. Put the IChing.zip in the directory where you want the script and files to uncompress. The IChing.tar.gz will uncompress into an IChing directory. If I find a way, I'll create a compressed version for mac users.


I'd like to acknowledge Richard Wilhelm's and Cary F. Baynes translation "I Ching: Or, Book of Changes" [3rd. ed., Bollingen Series XIX, (Princeton NJ: Princeton University Press, 1967, 1st ed. 1950)] and Larry Schoenholtz's "New Directions in the I Ching: The Yellow River Legacy" [Seacaucus NJ: University Books Inc., 1975, 1st ed. 1975] for inspiring me to write this script.

An excellent explanation of Larry Shoenholtz'a insights for consulting the I Ching (which I've used in this script) can be found at Frank Szot's webpage The Method of 64 for I Ching.

The Wilhelm/Baynes translation can be found on line (it's a large file - 391 KB), courtesy of Akira Rabelais.

I also owe a thanks to Steve VanDevender for his markup of the hexagrams. He also offers a reading, as well as a substitute for the UNIX [BSD 4.2/3/4] ching(6) script.

For more information about the I Ching, I recommend:

Here's an interesting book by George Rabe, called The I Ching, A 3000 Year Old Digital Computer, about the source of the I Ching:

Please direct any comments or suggestions to:
dan enright (dan@DanEnright.com)