Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 853 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 853 Bytes

move-one-up

Does a folder contain a single file? Move the file up and delete the folder if desired.

Heres a Donut

                    X=Math;Y=
               X.sin;Z=X.cos;A=1;
            B=1;setInterval(function
           (){a=[],o=[];A+=.07,B+=.03
          ;for(t=Z(A),n=Y(A),r=Z(B),s=
         Y(B),h=0;h<1760;h++)a[h]=h%80==
        79?"\n":" ",o[h]=0;for(M=0;M<6.28
       ;M+=.07){v=Z(M);     c=Y(M);for(i=
       0;i<6.28;i+=.02       ){f=Y(i);e=Z(
       i);l=v+2;g=1/(       f*l*n+c*t+5);
        j=f*l*t-c*n;u=     0|20+25*g*(e*l
        *r-j*s);I=0|12+12.5*g*(e*l*s+j*r
         );$=u+80*I;b=0|8*((c*n-f*v*t)*
          r-f*v*n-c*t-e*v*s);I<22&&0<=
           I&&0<=u&&u<79&&g>o[$]&&(o[
            $]=g,a[$]=".,-~:;=!*#$@"
              [0<b?b:0])}}console.
                 log(a.join(""))
                     },50);