Sierpinski triangle/Graphical: Difference between revisions

Content added Content deleted
m (→‎{{header|Python}}: PEP8 style changes, and changed the comment question into a less ambitious statement)
m (→‎{{header|Processing}}: reorganized items as single hierarchy)
Line 1,712: Line 1,712:
Recursive Sierpinski triangles
Recursive Sierpinski triangles


===2D versions===
===Pixel based===


<lang Processing>
<lang Processing>
Line 1,737: Line 1,737:
</lang>
</lang>


====Animated====
===Animated===
<lang Processing>
<lang Processing>
int depth = 5;
int depth = 5;