Hello everyone,
Another newbie question. Is there any kind of possibility for iterations / looping in Grasshopper? As I understand, recursive stuff is not possible, but perhaps there is some other, more limited way to achieve similar results.
Specifically I am looking for a way to apply a transformation (not necessarily geometric, but a general one) to a data stream a pre-defined number of times, and collect all the partial results. For example, take a point, apply the transformation "rotate by 30 degrees around the origin" 11 times to get 12 points on a circle (of course this specific problem can be solved in other ways, it is just an illustration of what I mean). This would allow creating fractal-like structures.
An unrelated question: is there a built-in constant for π (pi), or is it necessary to type the value explicitly every time when setting it as a number somewhere?
Tags: