Skip to content

Instantly share code, notes, and snippets.

@Spuffynism
Last active February 3, 2018 23:02
Show Gist options
  • Save Spuffynism/cf17bfa10dba398c94bf346972260e44 to your computer and use it in GitHub Desktop.
Save Spuffynism/cf17bfa10dba398c94bf346972260e44 to your computer and use it in GitHub Desktop.
Unpostable Dwitts — https://www.dwitter.net/
// 177
c.width=1920;e=S(t)*200;a=b=>750+b*90+e;x.font="bold 80px Times"
x.fillText("BLACK",750+e,380)
x.fillText("FLAG",880+e,680)
for(i=0;i<4;)x.fillRect(a(i++),i%2==0?385:400,80,220)
// 174
c.width=1920
x.font="bold 80px Times"
a=(u,v,w)=>x.fillText(u,v,w)
a("BLACK",840+e,380)
a("FLAG",970+e,680)
for(i=0;++i<5;e=S(t)*200)x.fillRect(750+i*90+e,i%2?385:400,80,220)
// 163
for(c.width=200,x.font="bold 20px Times",e=20*S(t),a=(b,d,f)=>x.fillText(b,d+e,f),a("BLACK",63,40),i=0;++i<5;a("FLAG",92,111))x.fillRect(40+22*i+e,i%2?42:47,20,50)
// 158
for(c.width=200,x.font='18px Times',e=20*S(t),a=(g,h,j)=>x.fillText(g,h+e,j),a('BLACK',63,40),i=0;5>++i;a('FLAG',92,108))x.fillRect(42+20*i+e,i%2?42:47,18,46)
// 157
for(c.width=200,x.font='17px Times',e=20*S(t),a=(g,h,j)=>x.fillText(g,h+e,j),a('BLACK',63,40),i=0;5>++i;a('FLAG',95,99))x.fillRect(42+20*i+e,i%2?42:47,18,40)
// 151
for(c.width|=i=0,e=690+S(t)*99;i++<4;x.fillRect(i*90+e,i%2?400:385,80,220))with(x)font="bold 80px a",fillText('BLACK',e,380),fillText('FLAG',e+130,680)
// 147
with(x)for(c.width|=i=4,e=690+S(t)*99;i--;fillRect(i*90+e,i%2?400:385,80,220))font="bold 80px a",fillText('BLACK',e,380),fillText('FLAG',e+130,680)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment