« Serial Lab Revisited | Main | On Randomness II »

How Do You Program Randomness?

Yan Yan and I met today to begin programming the system. The first issue we discussed was the approach to the generation of the I, Ching readings. Were we creating a casting device and simply saving people the trouble of tossing three coins? And if so, how should we approach the casting process? Most importantly how did we see randomness functioning. How do you program randomness? YanYan explained that if 3 coins were tossed 6 times and the result was a single trigram that determined 1 out of 64 different predictions than what was functioning was not only "chance" but also "mathematics." We decided to use a random number generated by the Arduino as the "seed" for the generation of the I,Ching reading.

Scott's user feedback diagram: Download file