Sierpinski Carpet by nn

{for(;i<n=3^$0;i++){for(o=j=_;j<n;)o=o(int(i/9)*int(j/9)%2+int(i/3%3)*int(j/3%3)%2+i%3*(j++%3)%2?"  ":"::");print o}}

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

download

return to the top page