Follow

RT @KilledByAPixel@twitter.com

Grow Around 🦠 dwitter.net/d/23234

for(c.width|=i=X=Y=0,w=t*30|0;i++<w;T[i]=X,R[i]=Y,x.lineTo(960+X*9,540+Y*9))for(X=T[i]||X,Y=R[i]||Y,j=0;j++<w;X+=s*A,Y+=s*B)A=X-T[j]||1,B=Y-R[j]||i,s=((i-j+w)%w)**2-1?(A*A+B*B<4)/9:-.4;x.fill()

🐦🔗: twitter.com/KilledByAPixel/sta

@bleeptrack I'm very impressed, getting such an effect out of this little bit of code. My idea to get something similar would likely need a wavelet space in polar coordinates and an equation solver. Can somebody reveal the rationale behind the code, a commented version or the like?

Sign in to participate in the conversation
chaos.social

chaos.social – a Fediverse instance for & by the Chaos community