I have created a straightforward Grasshopper code that generates a Voronoi diagram on a surface. Then, it adds thickness to form a structure called a “Voronoi Cage.” In the initial step, I project a surface onto the ground plane (Z=0). The projected frame serves as the boundary for two operations: generating random points using the Populate 2D (Pop2D) function and calculating the Voronoi diagram based on these points. The resulting […]
Posts with the keyword voronoi
Here, our aim is to generate a 3D Voronoi puzzle ready for 3D printing. Below is the step-by-step explanation of this Grasshopper algorithm: The 3D Voronoi Puzzle Step number one is the application we saw earlier in the Voronoi diagrams. We obtain random polyhedra within a given volume quickly. The basic features we need for the puzzle are: (1) When we solve the puzzle the final volume should be a […]
In this Voronoi puzzle exercise, we derive two-dimensional puzzles by using Voronoi diagrams. This is similar to my previous studies here, and here. Part 1: The Random Voronoi Diagram In section 1 of the below image, I use a rectangular region to generate random points. Then, I create a standard Voronoi diagram by using those points. Finally, I explode the Voronoi cells. Part 2: The Voronoi Puzzle Details In the […]
This is a useful tip both to solve some of the problems with custom surface subdivisions, and to explain the uses of parametric surface evaluations (the U, V, W thing) and the practical use of data lists. Step 1: Put your points inside 0,0,0 and 1,1,0 so that the resulting coordinates can easily be converted to U and Vs. In the example, we are putting some random points between 0,0 and […]
Image Sampler of Grasshopper saves life if used responsibly. While explaining the component to this year’s ARCH362 students, I used this simple example that generates numbers from a beautiful picture of “metal foam” and uses it to generate lots of circles: Metal foams are lightweight but strong materials, that are typically produced by injecting gas into the liquid metal. Of course, it becomes easier to teach something when you manage […]
While searching for a way to work with random points and growing populations, this idea appeared accidentally. I wasn’t trying to mimic the behavior of Karyokinesis of biological cells (in fact I’m in serious doubt about biomimicry in general). The trick is to use a timer + data recorder + a knob for the arbitrary user input. It starts to breed when you start the timer, but to change the […]
This was the initial example of image processing in our Parametric Modeling class. I saw this design on Maxthreads Architectural Design’s website (especially here). Hand-drawn and digital diagrams can also be digitized and used in order to describe certain parameters for design formation. Such algorithms would similarly use the Image Sampler Component of Grasshopper. In the algorithm below, image data is used to capture black pixels as attractors of a Voronoi subdivision. […]
Fracture is a simple effect experiment on Grasshopper. Although it is not the best tool for an interactive media installation regarding its performance, I tried to use it as a simple sketching tool for concept development. It is the sketch of a material system we are working on nowadays for an Exhibition. The initial diagram of Grasshopper includes a nested Voronoi subdivision broken by moving attractor points. It is not […]
Kündekâri is an old woodworking technique, composed of interlocking parts without any glue or nail. It is primarily used in wooden doors and minbers inside Mosques. The interlocking system makes the whole structure very durable. I tried to model this technique using the Voronoi pattern, naming it Voronoi Kündekâri. Below you see a typical example of Kündekâri pieces and the resulting pattern. The interesting part of the Grasshopper model is […]
I’ve been searching for a method to study the Voronoi subdivision in order to manipulate it. There are well-known algorithms for that. But I thought it would be better if I use a projective approach just as I did in studying hyperbolic space (here). This is the metaphor of inflating balloons. However, I inflated cones instead of spheres. This way, it became possible to modify the algorithm. So I was […]
This was my old plan to work with images in Grasshopper. Certainly, that was not the result I expected, but this could be counted as a starting point. After seeing beautiful circle packing compositions here, I decided to program Grasshopper, so that it’ll create a subdivision, based on image data. This was the initial version, just subdividing a plane with Voronoi points and visualizing it according to the image’s color […]
That was about six months ago, our study for a design competition required a spatial allocation algorithm. An office building with a rectangular plot and a strict functional requirement forced me to the good old Voronoi diagrams, subdividing a surface. Here is the definition file: [GHX: 0.8.0066]. However, there were other design parameters such as the sunlight and orientations of each functional cell. Combining a couple of graph components helped me […]