Last active
December 31, 2015 17:39
-
-
Save codeincontext/8021248 to your computer and use it in GitHub Desktop.
MERRY CHRISTMAS!
This file contains hidden or 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
w=console.log.bind(console),t=13,l=0,s=function(b,c){return new Array(b).join(c)}; | |
f=function(){clear();l=!l;w('\u001B[2J\u001B[0;0f');w(s(t-1,' ')+(l?'\\ /':''));w(s(t-3,' ')+(l?'-->*<--':' .')); | |
for(i=1;i<t;i++){w(s(t-i,' ')+'/'+s(i,'_'+(i%2?'/':'\\'))+'_\\')}w(s(t-2,' ')+'[___]');setTimeout(f,600)};f() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
added browser console support (thanks, @WickyNilliams!)