Skip to content

Instantly share code, notes, and snippets.

@chrismear
Created September 2, 2009 20:28
Show Gist options
  • Save chrismear/179939 to your computer and use it in GitHub Desktop.
Save chrismear/179939 to your computer and use it in GitHub Desktop.
main(a){float x,i,j,t,y;for(y=-30;y<30;puts(""),y++)for(x=-120;x<60;putchar(" ."[a>>6]),x++)for(i=j=a=0;i*j<2&&a<64;t=i*i-j*j+x/60,j=2*i*j+y/30,i=t)a++;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment