Skip to content

Instantly share code, notes, and snippets.

@justecorruptio
Last active October 23, 2015 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justecorruptio/853de3f990958becb7de to your computer and use it in GitHub Desktop.
Save justecorruptio/853de3f990958becb7de to your computer and use it in GitHub Desktop.
EB Logo
float*F,S=20,C[72]={1},A=.9987,b,d,
x,y;r,i,j;main(s){for(j=23;j--;F[5]
="DZ^^ZDAADDTUJKPQLMWXHDD"[j]-80)4[
F=C+j*3]="^[YGCAD[^ZZVVRRNNJJFFZ^"[
j]-80;for(;puts("\e[2J");usleep(99*
99)){for(j=24;j--;F[r]=y)y=2[F=C+j*
3]/S+A*F[r=++i/4800%2],F[2]=A*F[2]-
F[r]/S;for(y=-S;y<S;y+=.9)for(x=-S,
printf("\e[38;5;%d66m\n",C[2]<0);x<
S;x+=.4,putchar("E "[s%2]))for(s=j=
23;--j;s+=b*d<0&*F-x>(*F-F[3])*b/(b
-d))b=1[F=C+j*3]-y,d=F[4]-y;}}//jay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment