Every now and again I get back into python to do a little bit of scripting. Over the weekend I wrote a fractal script (for my design project).The input takes one rectangle, and then proceeds to rotate and translate that geometry however many times you deem appropriate in a recursive manner. Here’s the result.
Although you can achieve recursion in grasshopper using a plugin like hoopsnake, it is preferable to do it in a python scripting component – it doesn’t clog your grasshopper canvas, and it’s more efficient in terms of CPU processing. Plus, I really want to learn a scripting language.