1D cellular automaton in 133 bytes of code!
https://www.dwitter.net/d/33092
this.r??=1;s=10;j=1;for(n=i=0;i<32;j*=2)(j&r)&&x.fillRect(is,t600,s,s),n|=126&1<<((r&1<<++i?4:0)|(r&j?2:0)|(r&1<<i+30?1:0))?j:0;r=n
[#]programming #codegolf #life
=> More informations about this toot | View the thread | More toots from marquisdegeek@ohai.social
=> View codegolf tag | View life tag | View programming tag This content has been proxied by September (ba2dc).Proxy Information
text/gemini