Introduction

Taiji is a Chinese cosmological term for the "Supreme Ultimate" state of undifferentiated absolute and infinite potential, the oneness before duality, from which Yin and Yang originate, contrasted with the Wuji ("Without Ultimate"). The Tai Ji (Supreme Ultimate) diagram shows the relationship of Yin & Yang and illustrates interdependence on Yin & Yang. Nothing is totally Yin or totally Yang. Just as a state of total Yin is reached, Yang begins to grow. Yin contains seed of Yang and vise versa.

The Bagua, are eight trigrams used in Daoist cosmology to represent the fundamental principles of reality, seen as a range of eight interrelated concepts. Each consists of three lines, each line either "broken" or "unbroken," respectively representing yin or yang. The ancient Chinese classic, I Ching, consists of the 64 pairwise permutations of trigrams, referred to as "hexagrams", along with commentary on each one.

The I Ching contains 64 hexagrams which represents a system of knowledge and ever changing divination. The I Ching is also called the Book of Changes because these symbols don’t have one set meaning but represent the universal characteristics of Yin and Yang and the ever changing possibilities of the cosmos. It will help you make better decisions and enjoy perfect timing, as you achieve or receive what you want or need.

Iching.jpg

My graphic design

These are some of visionary I Ching I designed for each hexagram and their corresponding explanation.

01qian.png


02kun.png


03tun.png


04meng.png


05xu.png


06song.png


07shi.png


08bi.png


09xiaochu.png


10lu.png


11tai.png


12pi.png


13tongren.png


14dayou.png


17sui.png


19lin.png


20guan.png


21shihe.png


26dachu.png


27yi.png


28daguo.png


29kan.png


30li.png


37jiaren.png


38kui.png


39jian.png


41sun.png


I Ching Prediction Method

The universe is constantly in change and Yin and Yang must change in order to create balance. In order to understand the philosophy of I Ching, the understanding of the hexagram must be made during its cast. There are a few ways this is done. Traditionally 50 yarrow stalks were used but in modern times dice, beads, and coins are used to cast the hexagram symbols.

I designed a simple game to let people understand I Ching Prediction easily. A coin is flipped for a total of 6 times in order to gain the six lines. And from these six coin tosses, a hexagram will be calculated according to its number.

It is important to understand that each symbol is neutral and has neither a good or bad meaning. Instead, the possibilities of events can be either favorable or unfavorable. Each 64 hexagram has a different meaning and sometimes can be difficult to read or to understand the divination.

Get your own oracle card!

This is a game about using coins to divine and using the divination system in I Ching to develop any situation or resolve any dilemma.
There are several steps you need to follow.
1.Firstly, find a quiet place and take a minute to calm your mind.
2.Get clear about the situation or decision on your mind.
3.Shake your hands and cast the coin in your hand for six times and record the results each time. If the coin is facing up, it represents "Yang", you press “1” on the keyboard;If the coin is facing down, it represents "Yin", you press “0” on the keyboard.

Coinside.png


4.Be receptive, read between the lines, and allow connections to become clear.

Gualines.png


5.Finally, there is the image of the trigrams and the explanation on the screen. You will get some inspirations and your own oracle card!

01qian.png


Cards.png


Coding Part

There are 64 combination permutations. Each hexagram has their text name and image. In this coding part, “a” represents ”1” when coin is facing up, “b” represents ”0” when coin is facing down.

Guacode11.jpg Guacode21.jpg Guacode31.jpg Guacode41.jpg Guacode51..jpg

Loading the different cases of image waiting for calling in the draw() function. “Pagelist” is a string within six characters which are the six times results of keypresses. Each keypress corresponding to “A” or “B”.

Guacode61...jpg Guacode7..jpg Guacode8.jpg Guacode9.jpg Guacode10.jpg Guacode11..jpg Guacode12.jpg

Order is the variable created to count the times of keypressed, any time when a key is pressed, it is to be judged if it is within 8 times.
secondly, the key is to be told if it is "1" or "0" which represents the front face or back face of coin.

Guacode13.jpg

If the times exceeds to 9th time, it is to be assigned to "0" which represents the first time again, and the "refresh" to be true which will consequently draw background to black to make the canvas refresh again.

Reference

http://www.sunsigns.org/i-ching-64-hexagrams/

https://en.wikipedia.org