3 ms·
> triangles drawing triangles Reminds me of a Sierpinski triangle[1]. Can you have a turtle infilled with the Sierpinski pattern, or maybe a Sierpinski triangl
by Intermernet 10y ago
> triangles drawing triangles
Reminds me of a Sierpinski triangle[1]. Can you have a turtle infilled with the Sierpinski pattern, or maybe a Sierpinski triangle being drawn by a turtle?
Also, you could get a tattoo with something like:
to e :s :l
if :l>0[repeat 3[e :s/2 :l-1 fd :s rt 120]]
end
e 99 5
Which is Logo code to draw a Sierpinski triangle (main credit [2], you can demo at [3]).
[1]: https://en.wikipedia.org/wiki/Sierpinski_triangle https://en.wikipedia.org/wiki/Sierpinski_triangle
[2]: http://codegolf.stackexchange.com/a/10793 http://codegolf.stackexchange.com/a/10793
[3]: http://www.calormen.com/jslogo/ http://www.calormen.com/jslogo/