https://holtsetio.com
for(o.xy=(2.*FC.xy-r)/r.y*50.;++o.w<93.;o.xy*=mat2(cos(vec4(70,81,103,70))))o.x+=cos(.2*o.y+t)*3.;o=o*.01+.5;
for(o.xy=(2.*FC.xy-r)/r.y*50.;++o.w<93.;o.xy*=mat2(cos(vec4(70,81,103,70))))o.x+=cos(.2*o.y+t)*3.;o=o*.01+.5;
for(float i,z,d,s;i++<1e2;){vec3 p=z*normalize(FC.rgb*2.-r.xyy);p.z+=9e1;for(s=0.;s++<9.;)p+=sin(.3*p+t).yzx*2.,p.xy*=mat2(cos(7e1+vec4(0,11,33,0)));d=max(.0,length(p)-50.),z+=d/s;o.xyz+=(.7+.3*cos(p/s+t))*max(0.,1.-d)/50.;}
for(float i,z,d,s;i++<1e2;){vec3 p=z*normalize(FC.rgb*2.-r.xyy);p.z+=9e1;for(s=0.;s++<9.;)p+=sin(.3*p+t).yzx*2.,p.xy*=mat2(cos(7e1+vec4(0,11,33,0)));d=max(.0,length(p)-50.),z+=d/s;o.xyz+=(.7+.3*cos(p/s+t))*max(0.,1.-d)/50.;}
I still consider this a work in progress, but you can already try it out in your #webgpu compatible browser here:
🔗 holtsetio.com/lab/tetris/
I still consider this a work in progress, but you can already try it out in your #webgpu compatible browser here:
🔗 holtsetio.com/lab/tetris/