Looking through your code I got very confused as to why there were blocks with empty definitions, but then I realized they were inline comments.
The tree is a bit slow with all the clones running at the higher depths. I would rather do recursion like you did with Sierpinski's triangle.
And for a suggestion on the next fractal, the Koch snowflake perhaps?
1 Like