325
edits
No edit summary |
|||
(22 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
=='''My graphic design'''== | =='''My graphic design'''== | ||
These are some of visionary I Ching I designed for each hexagram and their corresponding explanation | These are some of visionary I Ching I designed for each hexagram and their corresponding explanation. | ||
[[Image:01qian.png|thumb|left|300px]] | [[Image:01qian.png|thumb|left|300px]] | ||
Line 67: | Line 67: | ||
[[Image:41sun.png|thumb|left|300px]] | [[Image:41sun.png|thumb|left|300px]] | ||
<br style="clear:both"> | <br style="clear:both"> | ||
=='''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!'''== | =='''Get your own oracle card!'''== | ||
Line 73: | Line 80: | ||
1.Firstly, find a quiet place and take a minute to calm your mind. <br style="clear:both"> | 1.Firstly, find a quiet place and take a minute to calm your mind. <br style="clear:both"> | ||
2.Get clear about the situation or decision on your mind.<br style="clear:both"> | 2.Get clear about the situation or decision on your mind.<br style="clear:both"> | ||
3.Shake your hands and cast the coin in your hand for six times. <br style="clear:both"> | 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. | ||
4. | [[Image:coinside.png|thumb|left|300px]] | ||
<br style="clear:both"> | |||
4.Be receptive, read between the lines, and allow connections to become clear.<br style="clear:both"> | |||
[[Image:gualines.png|thumb|left|300px]] | |||
<br style="clear:both"> | |||
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!<br style="clear:both"> | |||
[[Image:01qian.png|thumb|left|300px]] | |||
<br style="clear:both"> | |||
[[Image:cards.png|thumb|left|300px]] | |||
<br style="clear:both"> | |||
=='''Coding Part'''== | =='''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. | |||
[[File:guacode11.jpg]] | [[File:guacode11.jpg]] | ||
[[File:guacode21.jpg]] | [[File:guacode21.jpg]] | ||
Line 82: | Line 102: | ||
[[File:guacode41.jpg]] | [[File:guacode41.jpg]] | ||
[[File:guacode51..jpg]] | [[File: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”. | |||
[[File:guacode61...jpg]] | [[File:guacode61...jpg]] | ||
[[File:guacode7..jpg]] | [[File:guacode7..jpg]] | ||
Line 89: | Line 113: | ||
[[File:guacode11..jpg]] | [[File:guacode11..jpg]] | ||
[[File:guacode12.jpg]] | [[File: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.<br style="clear:both"> | |||
secondly, the key is to be told if it is "1" or "0" which represents the front face or back face of coin. | |||
[[File:guacode13.jpg]] | [[File: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 |
edits