From 1469a2fb1613dc32455d58ba088baa68b789f9c9 Mon Sep 17 00:00:00 2001 From: Fisch Date: Sat, 31 Mar 2018 15:20:35 +0200 Subject: [PATCH] position is time seeded --- ctdo.png | Bin 8169 -> 8174 bytes eh18-image.py | 113 ++++++++++++++++++++++++++++++-------------------- 2 files changed, 67 insertions(+), 46 deletions(-) diff --git a/ctdo.png b/ctdo.png index 72b3cc8f12466321b51229129c1f2c1ded5fce37..3a9881266fc7458949b4d6dd5b88d050589d4d07 100644 GIT binary patch literal 8174 zcmVPx#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy0%A)?L;(MXkIcUS000SaNLh0L01ejw01ejxLMWSf0017sNklFV` zpT{d!@pIMs3Ra6RJR+3}g0F~D8UZ1shzK+S!3ZG`LLea|khjTX*7HYphI7tLhM6;y zoC)N2{z&$mbJp2st+V%DYwfky*61D3NF$3}1~YX7BC;1vWawlul+oll%qE5I2K3i-}BP0>jC~6DPV}>e){TU$T{NI7FM%FB*)*5{O17`CP&@&SNO) z-T0(N4zP{S*}yL96R9&x6oF{uGKH(Slmaq)tX4ujr4+G>FQ`cju_S^(a+u5vrc*$Q zLp5ljltMmb6SYn=!&!lNIEU-Gj`5^MahIP~T4}5Zd9N-{FXrzf2T4_h{BY=jEMiL%U zNv9uK7(hxyPddyRmQu)JXV~I|Kr}{i1Gh8rq}o#p)qG0{+xV9K)NmZ1 zjpw;YXCR|ElW|PoEb>S`$sJy{@)qy0x97)|o)(DCIo!t0oEf$=@p6EFuz^jKQB6}E zpP$MQ3b=qNoX;@aVXpL3#yc!xdm>vcu|a1XPq7aPa~$If{=jvNj+^Zf8g52&BhOGw zL)iN4<0-~PH4^m_Xyo%ad&7!iJ+rui0X^7iHL{q-qZD&2OwIQ4IQa>okH!so%%lu| z7ccDPYo28~nU2*ji|_IWcF@*E4gHiclRT%{7$2l_E5-P_c-1;S%w=B}t+|P%T-^HY&F;`BkiqN_RV?Gqlg>Nz zP9*aa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_current_command+='PX %d %d %02x\n' % (i+xv,j+yv,r) #monochrome only red channel - if len(_current_command)>=1400: - commandsarray+=[_current_command.encode()] #append packet - _current_command="" - - commandsarray+=[_current_command.encode()] #append last packet - - print("Generated Commands in "+str(time.time()-starttime)+" seconds") - while True: - try: - starttime=time.time() - for command in commandsarray: + starttime=time.time() + commandsarray=[] + seed=newseed + print("Seed: "+str(seed)) + #xv=random.randint(0,flutwidth) + #yv=random.randint(0,flutheight) - s.send(command) + #xv=random.randint(width/2,flutwidth-width/2) + #yv=random.randint(height/2,flutheight-height/2) + xv=randomnumber(seed,width/2,flutwidth-width/2, 1234,-242,4) + yv=randomnumber(seed,height/2,flutheight-height/2, 1423,-122,3) + print("xv="+str(xv)+ "yv="+str(yv)) + _current_command="" + + pixelcoords=[] + for _x in range(width): + for _y in range(height): + pixelcoords+=[(_x,_y)] + + shuffle(pixelcoords) - print("Send Image in "+str(time.time()-starttime)+" seconds") - except BrokenPipeError: - print("BrokenPipeError. Reconnecting") - s.close() - s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - s.connect((TCP_IP, TCP_PORT)) #reconnect - print("reconnected") + + + for i,j in pixelcoords: + r, g, b,a = rgb_im.getpixel((i, j)) + if a!=255: + continue + #if r>127: + # continue #skip bright pixels + #r=255-r + + #_current_command+='PX %d %d %02x%02x%02x\n' % (i+xv,j+yv,r,g,b) #rgb + _current_command+='PX %d %d %02x\n' % (i+xv-width/2,j+yv-height/2,r) #monochrome only red channel + if len(_current_command)>=1400: + commandsarray+=[_current_command.encode()] #append packet + _current_command="" + + commandsarray+=[_current_command.encode()] #append last packet + + print("Generated Commands in "+str(time.time()-starttime)+" seconds") + + + while seed==newseed: + try: + starttime=time.time() + for command in commandsarray: + + s.send(command) + + + print("Send Image in "+str(time.time()-starttime)+" seconds") + except BrokenPipeError: + print("BrokenPipeError. Reconnecting") + s.close() + s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + s.connect((TCP_IP, TCP_PORT)) #reconnect + print("reconnected") + + newseed=(int)(time.time()/60) exit()