Skip to content

Instantly share code, notes, and snippets.

@benolee
Created April 4, 2011 18:40
Show Gist options
  • Save benolee/902149 to your computer and use it in GitHub Desktop.
Save benolee/902149 to your computer and use it in GitHub Desktop.
fractal.c
#include <unistd.h>
float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||
(h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&write(1,(--s%L?_<L?--_
%6:6:7)+"World! \n",1)&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment