
for(var i=0,c=0;i<9;i++){
x=512+(x-512)*1.9-Math.sin(y*0.01)*20;
y=512+(y-512)*1.9-Math.cos(x*0.01)*20;
c+=Math.abs(x+y)<9999?1:0;
}
r=255*Math.sin(c);
g=255*Math.cos(c*c);
b=255*(c%8)/8;
var t=Date.now()/50, d=Math.hypot(x-512,y-512);
r=255*Math.min(1,(d-t%500)/200);
g=255*Math.max(0,1-Math.abs(d-t%300-100)/100);
b=255*Math.pow(Math.sin(d*0.01-t*0.1),2);
a=255*(1-d/512);
var s=20+15*Math.sin(Date.now()/1000);
if((x%s>s/3)!=(y%s>s/3)){
r=x%255; g=y%255; b=(x*y/1024)%255;
}
var t=Math.atan2(y-512,x-512), d=Math.hypot(x-512,y-512);
r=255*Math.abs(Math.sin(d*0.1+t*4));
g=255*Math.abs(Math.cos(d*0.1-t*4));
b=255*(d/1024);
var rule=(x&y)^((x+Date.now()/1000)&(y+1));
if(rule%128>64){
r=rule%255; g=(rule*2)%255; b=(rule*3)%255;
}
var dx=x-512, dy=y-512;
r=Math.abs((dx*dx-dy*dy)/512)%256;
g=Math.abs((dx*dy)/256)%256;
b=Math.abs(512-Math.hypot(dx,dy))%256;
var t=Date.now()/200,h=1024-y-t%500;
if(h<100+80*Math.sin(x/50)){
r=255; g=100+h*1.5; b=h;
}
var s=Math.floor(Date.now()/100)%1024;
if((x^y^s)%22<2){
r=(x+s)%255; g=(y+s*2)%255; b=(x*y/4)%255;
}
var p=Math.pow(Math.sin(x*0.02)+Math.cos(y*0.02),2);
if(p>0.7){
r=255*p;
g=255*Math.pow(p,3);
b=255*Math.pow(p,5);
}
var v=Math.sin(x*0.03)*Math.cos(y*0.04)*50;
if(Math.abs((x+y)%40-v)<15){
r=255-Math.hypot(x,y)/4;
g=128+v;
b=x%255;
}