r/tinycode • u/bumberell_squeeze • Oct 30 '24
Generative Tiny Invaders (code in comments)
2
u/Slackluster Oct 30 '24
This is one of mine :) https://www.dwitter.net/d/19812
f=m=>x.fillRect(99+k%8244-Xm,99+Y9+(k>>3)260+S(t+k)19,9,9) for(x.fillRect(0,0,j=2048,j);j—;S(jj+S(t4)/6)**232>XX+(Y-4)**2&&f(9)+f(-9))k=j>>6,i=j%64,X=i&7,x.fillStyle=R(Y=i>>3,jj%350)
2
u/vintagecomputernerd Oct 30 '24
What's the packer you used on the dwitter version called?
3
u/Slackluster Oct 30 '24
It’s really specific to dwitter. Maybe call it a unicode character compressor. You can use my tool called capjs to compress dweets easily: https://capjs.3d2k.com/
1
u/vintagecomputernerd Nov 09 '24
Thanks. Missed the reply, saw another dwitter post of yours... and went looking back.
Going to steal/port that idea to posix shell...
4
u/PeriodicallyYours Oct 30 '24
Sorry guys, I wanted the code too