Re:Recursive Drawing
by DivisibleByZero on Wednesday May 09, 2012 @09:49PM
(#3951471)
Can't seem to figure out how to draw Sierpinski's triangle. The hello world of fractals.
[ Parent
| on HN ]
Re:Recursive Drawing
by throwaway15289 on Wednesday May 09, 2012 @10:11PM
(#3951526)
Draw a triangle and put 4 shrunk copies of itself in the triangle (center one flipped)?
http://imgur.com/m0Okt see components on rhs.
Edit: Oh sorry, was confused about which one Sierpinski's was. Can fix it by omitting middle triangle: http://imgur.com/MVmPh
Or you can do the inverse http://i.imgur.com/tMbrj.png