代码


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);
        

评论

暂未开放。。。