periodic reminder that everybody (yes also you) can make their computer go "I know kung fu" and learn it a random gen art
copypaste the below code into a fresh browser tab for your own personal random gen art fractal thing
read 🧵 for more inf ⏬
data:text/html,<canvas id=x><script>X=x.getContext("2d");s=Math.sin;p=[...Array(x.height=x.width=w=904)].map(G=Math.random);w/=2;g=([x,y],[a,b,c,d])=>w s(3*a*x/w 7*b)*s(7*c-3*d*y/w)*w;for(v=[0,i=9e5];--i;v=v?.map((x,j)=>g(v,p.slice(h j*4))))h=G(X.fillRect(...v,1,1))*32|7</script>