Log In  


random walkers

inspired by https://beautifl.net/run/732/

(292 chars)

fillp(1285)circfill(64,64,91,1)p={}t=1::_::for i=24576+t%4,32767,4do poke(i,@i>>1&119|@i&17)end for i=0,t<2and 299or t%2-1do add(p,{x=64,y=64,c=8+rnd(8),d=0})end for e in all(p)do pset(e.x,e.y,e.c)e.d+=t%2*rnd(5)\1/4e.x+=cos(e.d)e.y+=sin(e.d)if((e.x|e.y)&-128~=0)del(p,e)
end t+=1flip()goto _
11


Hello, I love this effect! I want to say that I studied your code and am really impressed, I struggle understanding it, yet alone making it from scratch. Could you explain how you came up with the code? Thanks!



[Please log in to post a comment]