A Pen by Lea Rosema on CodePen.
Created
December 29, 2022 19:26
-
-
Save jftochka/d8dbf7c9fb1ccbcf8d6658115929b85f to your computer and use it in GitHub Desktop.
Tweet sized ASCII love <3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.write`<pre id=p>`,j=0,setInterval(()=>{for(M=Math,A=M.abs,T='W#x;:-·',S=20,s='',i=492;i--;)s+=(x=i%41)?T[A(j-(((M.hypot((X=x-S)/S*(.5+.5*(Y=2*((i/41)|0)-10)/S),Y/S-A(X/S)*.63)-.7)*S)|0))%7]:'\n';p.innerHTML=s;j++},150) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #222; | |
color: #faa; | |
display: grid; | |
font-size: min(3vw, 2rem); | |
place-items: center; | |
margin: 0; | |
height: 100vh; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment