Wednesday, December 12, 2007

What is this?


Any idea what this is a picture of?

Ok, so it is a cellular automation, but where did the symmetry come from? Here is the generating snipit of python code.
   def getArray(self):
if self.count == 0:
out = random((self.w + 1, self.h + 1))
else:
out = self.data[:,:]
out[:,0] = 0
out[:,-1] = 0
out[0,:] = 0
out[-1,:] = 0
out[1:-1,1:-1] = (out[2:, 1:-1] +
out[1:-1,2:])/2.
out += .01
i_s, j_s = where(greater(out, 1))
for i, j in zip(i_s, j_s):
out[i, j] = 0
r = out.ravel()
self.count += 1
self.data = out
return out

Saturday, December 01, 2007

Hex Clock




Revolutionary new clock. Forget the binary clock, meet the Hex Clock!

The day is divided into 4096 Binutes, which are sub-divided into 16 tics each. The top three squares display the Binutes Past Midnight (BMP). The bottom square displays 16ths of a Binute, a "tic" which is about 1.3 seconds.

Each side of a square is a bit. The right side is least significant bit, with increasing significance in the counter clockwise direction.

Download