Prohibit: Difference between revisions
Appearance
m →tbd |
|||
| Line 32: | Line 32: | ||
Introduced on January 3rd, 2026.<gallery mode="packed" heights="200"> | Introduced on January 3rd, 2026.<gallery mode="packed" heights="200"> | ||
File:Prohibit octant animation.gif|[[Octant]] animation | File:Prohibit octant animation.gif|[[Octant]] animation | ||
File:Prohibit full block animation.gif| | File:Prohibit full block animation.gif|Quadrant animation | ||
</gallery> | </gallery> | ||
'''<u>Code for the octant animation:</u>''' | '''<u>Code for the octant animation:</u>''' | ||
| Line 38: | Line 38: | ||
r=(n,m)=>(n%m+m)%m,z=Math.floor,n=0;setInterval(_=>{for(j=-8;j<8;j++)for(i=-17;i<15;i++,writeCharTo(...[[..." 🮂▘▝▀🮅▖▌▞▛▗▚▐▜▂▄▙▟▆█"][r(2*n+(i^j)+2*j,256)],r(2*n+9*(2*j)+2560*(i^j),16711680),z(i/16),z(j/8),r(i,16),r(j,8),,,-1,,,,,1]));n++},99) | r=(n,m)=>(n%m+m)%m,z=Math.floor,n=0;setInterval(_=>{for(j=-8;j<8;j++)for(i=-17;i<15;i++,writeCharTo(...[[..." 🮂▘▝▀🮅▖▌▞▛▗▚▐▜▂▄▙▟▆█"][r(2*n+(i^j)+2*j,256)],r(2*n+9*(2*j)+2560*(i^j),16711680),z(i/16),z(j/8),r(i,16),r(j,8),,,-1,,,,,1]));n++},99) | ||
'''<u>Code for the | '''<u>Code for the quadrant animation:</u>''' | ||
(f=_=>{s=f.toString();r=(n,m)=>(n%m+m)%m;z=Math.floor;k=Math.random;n=0;g=(a,b,c)=>4**8*a+256*z(b*k())+z(c*k());setInterval(_=>{for(j=-8;j<8;j++)for(i=-16;i<16;i++)writeCharTo(...[' ▘▝▀▖▌▞▛▗▚▐▜▄▙▟█'[s.charCodeAt(r(n+16*i-j,309))%16],g(255,255,255),z(i/16),z(j/8),r(i,16),r(j,8),,,g(192,96,128),,,,,1]);n++},140)})() | (f=_=>{s=f.toString();r=(n,m)=>(n%m+m)%m;z=Math.floor;k=Math.random;n=0;g=(a,b,c)=>4**8*a+256*z(b*k())+z(c*k());setInterval(_=>{for(j=-8;j<8;j++)for(i=-16;i<16;i++)writeCharTo(...[' ▘▝▀▖▌▞▛▗▚▐▜▄▙▟█'[s.charCodeAt(r(n+16*i-j,309))%16],g(255,255,255),z(i/16),z(j/8),r(i,16),r(j,8),,,g(192,96,128),,,,,1]);n++},140)})() | ||