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.

Grouping points in space

Grouping points in space

From the course: Learning Algorithmic Design with Grasshopper

Start my 1-month free trial

Grouping points in space

- [Instructor] In the last video, we took some steps to manage our data stream, and those are going to be crucial for us to be able to start drawing out our spline profiles, and basically have access to the groups of points that we want to define those rectangular shapes. So in this video, we'll do the next couple steps on that front. Here in Grasshopper we left off using the Shift Paths component to essentially group together all of the points that are inside each of our voronoi cell shapes. And in this video, we'll take some steps to search through that list of points and make sure that we're grouping them based on where they are in space. And there's a component that's actually perfect for this called the Closest Points component, and this finds the closest points in a point collection. So this takes as its input, the point to search from, the cloud of points to search and a number of closest points to find. Now, we know for sure the cloud of points to search is going to be what's…

Contents