simple octagon tesselation by shinh

i;main(z,j,b){for(z=-b%5*9-5;i<z;i++)for(b=i<z/2?i:z-i-1,b=(b<z/3?z/3-1-b/3*3:0)+!(b%3),j=z-b;~j;)putchar(j--?j>z-b-b|i%3<1<j%3?32:35:10);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page