Sierpinski Fractal by shinh

*s=' /\\','/__\\';2.upto($$%6){v=$.*=2;a=[];s=s.map{|x|a<<x+' '*(v-=1)+x;' '*$.+x}+a};puts s

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

download

return top