Collection of JavaScript code snippets that produce a functional output, in a given context.
- Print and scroll 'MapX' in console.log, 178 bytes
t=0,c=console,(a=e=>{for(c.clear(),i=0,t+=2,g="",y=0;y<16;y++){for(r="",x=0;x<16;x++)i++,r+=([44191,19797,42545][y+t&7]&1<<x)>0?"🔴":"⚪";g=g+"\n"+r}c.log(g),setTimeout(a,1e3)})();