GMU:Human and Nonhuman Performances II SS16/Shuyan: Difference between revisions

From Medien Wiki
No edit summary
Line 105: Line 105:
[[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.
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.
secondly, the key is to be told if it is "1" or "0" which represents the front face or back face of coin.



Revision as of 06:56, 2 October 2016

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 concept

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


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.
4.Record the results. 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


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!

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.