From the course: Learning Algorithmic Design with Grasshopper

Unlock the full course today

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

Generating a dynamic Voronoi diagram

Generating a dynamic Voronoi diagram

From the course: Learning Algorithmic Design with Grasshopper

Start my 1-month free trial

Generating a dynamic Voronoi diagram

- [Instructor] In the last video, we looked at some of the basic properties of the Voronoi Diagram component in Grasshopper. In this video, I'd like to go a little bit further and do some setup that's going to help us out later on as we move through our algorithm. So in Grasshopper, I've got the file voronoiexploreend.gh open. And in Rhino, I just have a blank file. I happen to be using the small objects centimeters template but you can use whatever units you like. And where we left off, we had set up our Voronoi Diagram component, feeding in a set of points, as well as a rectangle to specify the boundary. Now you'll notice in Grasshopper, we've got some points that are outside of the boundary and those are no longer part of the Voronoi Diagram that we're laying out. So those points aren't really helping us much. And it would certainly be fine to manually lay out points. For me, that's pretty tedious and not quite as flexible as I'd like in terms of building out our algorithm in a way…

Contents