demo!!
from ctypes import*
from struct import*
from subprocess import*
p=480
k=p*4
S=CDLL('libSDL.so')
u=S.SDL_SetVideoMode(p,p,32,0)
r=unpack('iPiihP',string_at(u,40))
f=S.SDL_UpdateRect
a=0
c=range(p)
e=1<<(p/2)
s=Popen(['aplay','-r2000','-N','-B0'],stdin=-1)
while True:
a+=1;
for i in c:
e=eval('0b'+''.join('01'[(e>>max(0,j-1)&1)^(e>>(j+1)&1)]for j in c))
for x in c:
h=(255,0)[e>>x&1]
memset(r[5]+(x*4+a*k)%(p*k),h,4)
s.stdin.write(chr(e>>x&255));
f(u,x,a,1,1);
if a&8:f(u,0,0,p,p)
πβ πβ π£β πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ πβ π‘β π’β πβ πβ πβ πβ πβ πβ πβ πα·πα·πβ πβ πβ π β πβ πβ πβ πβ π’α·πβ πβ πα·πβ πβ πβ πβ πβ πα·πβ π β πα·πβ πβ πα·πα·πβ π‘β πβ πβ πβ π’β πβ πβ πβ πβ πβ πα·πα·πα·πα·π‘α·πα·πβ πβ πβ πβ π α·πβ πβ πβ π£α·πβ π£α·πβ πα·πα·πα·πβ πα·π‘β πα·πα·πα·πα·πα·πβ πβ πα·π‘β πβ πβ πα·πβ πα·πα·πα·π‘β πα·πα·πβ πα·πα·πα·πα·πα·πβ πα·πα·πα·πα·πα·πα·πα·πα·πα·πα·πβ πβ πα·πα·πα·π‘α·πα·πα·πα·πα·πα·πα·π£β π‘α·π α·πα·πα·πα·πα·πα·πα·
remember that login prompt vnc wget thing i found? well i found another server it really tried to go at too!! i like how it stretches out some letters it makes it look really eager https://computerfairi.es/media/9H0s0Fsz_INAXZrVL6k
i just realized with the SDL thing if i wanted to i could just memory map some assembly up there and call it to render stuff instead of doing pure python
hhhhhh
it's cheating but it's also Really Speed https://computerfairi.es/media/fCJKuDNtRb2aqAmJ7Uw
some of this code is...https://rosettacode.org/wiki/Perlin_noise
please observe what you have to do play a wav through SDL
https://gist.github.com/armornick/3447121
here's a fun edit to do: after line 13, add "f(u)" into the for loop! it's slower, but you can watch it *as it loads in!!*
here's the most smallest i could get it!!
https://ghostbin.com/paste/aupxt
pops a SDL window and loads a test image into it!!
this basically
turns the image from a digit into a boolean list
and then loads in the image data from the *bottom of memory*
however the blit for loop is ππ https://computerfairi.es/media/7-D8s4APQWXttLTFems
i will no longer be on computerfairi.es
please follow @boots