JSFiddle - React, Tailwind, and code Playground

by mrpollo

HTML

<pre id="outout"></pre>

CSS

#outout{
    background: black;
    color: #CCC;
}

JavaScript

var F,S,V,tmr,doframe = function(){
    var k=document.getElementById("output"),c,d,e,a,f,g,h,j,b,i=[];
    S+=V+=(1-S)/10-V/4;
    for(d=0;d<24;d++){
        for(c=0;c<73;c++){
            for(a=e=0;a<3;a++){
                f=S*(c-27);
                g=S*(d*3+a-36);
                e^=(136*f*f+84*g*g<92033)<<a;
                b=0;
                p=6;
                for(m=0;m<8;){
                    h=('O:85!fI,wfO8!yZfO8!f*hXK3&fO;:O;#hP;"i'.charCodeAt(b)-79)/14.6423;
                    j="<[\\]O=IKNAL;KNRbF8EbGEROQ@BSXXtG!#t3!^".charCodeAt(b++)-79;
                    if(f*Math.cos(h)+g*Math.sin(h)<j/1.165){
                        b=p;
                        p="<AFJPTX".charCodeAt(m++)-50;
                    }else if(b==p){
                        e^=1<<a;m=8;
                    }
                }
            }
            i.push(" ''\".$u$"[e]);
        }
        i.push("\n");
    }
    //alert(i.join(""));
    k.innerHTML = i.join("");
    if(!F--){
        clearInterval(tmr);
        tmr=undefined
    }
};
function animate(){
    F=40;
    V=S=0;
    if(tmr===undefined){
        tmr=setInterval(doframe,50)
    }
};
animate();