simple octagon tesselation by secka

r,a;main(n,d){for(d%=5u;r=d*9+3,n=r-a>a?a:r-a,n+1;a++)for(;putchar(!(r--%3)^!(n%3)&&d*6-~n>=r?35:r<0|r/3<d-n/3?10:32)-10;);}

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

download

return to the top page