From the course: Grasshopper Plugins
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Iteration and recursion
From the course: Grasshopper Plugins
Iteration and recursion
Thinking through the way data flows in a Grasshopper definition is really important in terms of understanding both the capabilities and the limitations of working algorithmically in Grasshopper. Let's illustrate some of those in this example. I've got the Rhino file, simple-fractal.3dm open, and I've also got the Grasshopper definition, 0030-recursion. Now, what we see here is just Rhino geometry. This isn't coming from Grasshopper. This is just a simple fractal shape that I've made myself in Rhino, where we start with an initial line, we duplicate that line, make it a little bit shorter, and rotate it a little bit around the line starting point. You can see I've done that again and again and again so each successive line is a little bit shorter than the one before it, and it's rotated by the same angle. So let's start to think about how we might duplicate this shape from a Grasshopper definition, and that'll help us to illustrate a couple unique ways that data flows through a sketch.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.