B=Math;C=B.PI;D=B.floor;T=360;X=255;function O(k){return (k*180/C)}function j(k){return (k*C/180)}function s(x1,y1,Y,Z){l=Y-x1;m=Z-y1;return B.sqrt((l*l)+(m*m))};function r(x1,y1,Y,Z){l=(Y-x1);m=(-1*(Z-y1));if(m!=0){m=(m*-1)}return B.atan2(m,l)};function t(x,y,n,$){I=n*B.cos($)+x;J=n*B.sin($)+y;return [I,J]}function A(Q,p,_){return (Q*(1-_))+(p*_)}K=a.width/2;L=a.height/2;E=((K+L)/2);z=null;F='mouse';M=32;i=T/M;N=j(i);W=0;h=a.addEventListener;h(F+'down',function(q){W=1});h(F+'up',function(q){W=0;z=null});h(F+'move',function(q){if(W==1){U=q.pageX;V=q.pageY;if(!z){z=[U,V]}f=r(K,L,U,V);x=r(K,L,z[0],z[1]);e=O(f);w=O(x);if(e<0){e=T+e}if(w<0){w=T+w}n=s(K,L,U,V);y=s(K,L,z[0],z[1]);g=A(0,X,(n/E));P=[D(X-g),D(g),D(X-g)];for(v=0;v<M;v++){if((v%2)==0){H=t(K,L,n,f+(v*N));G=t(K,L,y,x+(v*N));o(G[0],G[1],H[0],H[1],'rgb('+P[0]+','+P[1]+','+P[2]+')')}}z=[U,V]}});o=function(x1,y1,Y,Z,R){c.strokeStyle=R;c.beginPath();c.moveTo(x1,y1);c.lineTo(Y,Z);c.stroke()};for(v=0;v<M;v++){u=i*v;S=t(K,L,800,j(u));o(K,L,S[0],S[1],'#eee')}
Qj1NYXRoO0M9Qi5QSTtEPUIuZmxvb3I7VD0zNjA7WD0yNTU7ZnVuY3Rpb24gTyhrKXtyZXR1cm4gKGsqMTgwL0MpfWZ1bmN0aW9uIGooayl7cmV0dXJuIChrKkMvMTgwKX1mdW5jdGlvbiBzKHgxLHkxLFksWil7bD1ZLXgxO209Wi15MTtyZXR1cm4gQi5zcXJ0KChsKmwpKyhtKm0pKX07ZnVuY3Rpb24gcih4MSx5MSxZLFope2w9KFkteDEpO209KC0xKihaLXkxKSk7aWYobSE9M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