background preloader

Giulio Piacentino

Giulio Piacentino

WooJae’s Blog Digital [Sub]stance | Architecture +Design + Computation ARTC Design by Algorithm | FALL 2012 O P E N S Y S T E M S ARTURO TEDESCHI Iteration in Grasshopper (Without scripting) « Heumann Design/Tech Lately I have been experimenting with iteration in Grasshopper. Iteration is often thought to be synonymous with the computer programming concept of a loop, but while the concepts are related, the definition of iteration I will use requires that the results of one iteration are used as the starting point for the next iteration. A loop can simply be a way to apply the same operation to a list of elements (much like processing multiple values with a component in grasshopper), but it is an iterative loop if the results from one step are used in the calculation of the next step (something grasshopper does not directly do.) This concept is also tightly linked with the concept of recursion. Simply stated, the definition of a recursive function includes the function itself. Fractals are among the canonical examples of recursion in mathematics and programming. Achieving either iteration or recursion in Grasshopper would seem to require the use of scripting. Example 3: Repeat Transform Like this:

Geometry Gym Grasshopper Resources ex-Lab

Related: