This little program draws the sierpinski triangle fractal. Specify the size on the command line (should be about 5 depending on your screen size)$}=1|1<<pop;print($"x$},(map$_?$=:$"x2,@;), $/),@;=(1,map$;[$_]^$;[-$_],1..@;)while$}--
--MrNobo1024
s]]HrLfbfe|EbBibmv]e|s}w}ciZx^RYhL}e^print
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sierpinski Triangle
by Len (Friar) on Aug 08, 2002 at 08:15 UTC | |
Re: Sierpinski Triangle
by hossman (Prior) on Aug 12, 2002 at 06:39 UTC | |
Re: Sierpinski Triangle
by eyepopslikeamosquito (Archbishop) on Aug 17, 2002 at 06:38 UTC | |
Re: Sierpinski Triangle
by Rudif (Hermit) on Aug 10, 2002 at 21:37 UTC | |
Re: Sierpinski Triangle
by eyepopslikeamosquito (Archbishop) on Aug 21, 2002 at 12:36 UTC | |
Re: Sierpinski Triangle
by eyepopslikeamosquito (Archbishop) on Aug 17, 2002 at 16:16 UTC | |
by eyepopslikeamosquito (Archbishop) on Aug 20, 2002 at 06:24 UTC |
Back to
Obfuscated Code