From the course: Learning Algorithmic Design with Grasshopper

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Fine-tuning offsets

Fine-tuning offsets

From the course: Learning Algorithmic Design with Grasshopper

Start my 1-month free trial

Fine-tuning offsets

- [Instructor] In the last video, we took a look at adding some offsets to each one of our Voronoi cells. And in this video, I'd like to add one preliminary step before we do that offset, where we can add some spacing in between each of the cells and that'll just make things easier as we work through adding dimensions, and to help us to see what's going on a little bit better. What I'd like to do here is to add in a move component, and to take that geometry coming out of that geometry component, and move it. Let's plug in that geometry to the MOOS geometry input. Now to move it, we need to give it a motion vector, so a distance and a direction to move in. And so to figure out that vector, let's first add in a scale component, and we'll basically make a scaled-up copy of our Voronoi diagram geometry. That scale component also takes a center of scaling, which we can just leave at the default, zero zero zero, as well as a scale factor, so right now, that's set to 0.5 and that's why we…

Contents