Sierpinski Fractal by nn

{for(m=n=2^$1;i<n;i++){m--
for(o=j=_;j<=i+m;j++){k=j-m
o=o(k<0?FS:i%16<k%16||i%8<k%8||i%4<k%4||i%2<k%2?"  ":i%2?k%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