Skip to content

Instantly share code, notes, and snippets.

@seth10
Last active January 7, 2017 20:10
Show Gist options
  • Save seth10/793e6d8021e3c8d3ed65e9f1175ec734 to your computer and use it in GitHub Desktop.
Save seth10/793e6d8021e3c8d3ed65e9f1175ec734 to your computer and use it in GitHub Desktop.
No this isn't serious
p(x,y,c){(*(4<<24)&16?6<<24:0x600A<<12)+x%120+y*80=x%2==0?c+(((*(4<<24)&0x10?6<<24:0x600A<12)+x%120+y*80)&0xFF00):(u8)((*(4<<24)&0x10?6<<24:0x600A<<12)+x%120+y*80)+(c<<8);}
r(x,y,w,h,c){for(i=x/2-1;++i<(x+w+1)/2;)for(j=y-1;++j<y+h;)i*2==x-1?p(i+1,j,c):i*2==x+w-1?p(i,j,c):(*(4<<24)&16?6<<24:0x600A<<12)+i%120+j*80=c+(c<<8);}
@seth10
Copy link
Author

seth10 commented Jan 7, 2017

This vs this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment