simple octagon tesselation by primo

(t=2-3*n=getc%8).upto(-t){|i|eval"puts (' '*(o=n-i.abs>>1;o*=o/n*3)+' ##  '[j*2,3]*20)[0,j-3*t-o];"*-~j=i+n&1}

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

download

return to the top page