Voronoi Diagram in GenerativeComponents
Voronoi Diagram or Voronoi tessellation is abundantly found in nature. There are also some examplesĀ inĀ architecture where Voronoi is used. It’s not only the aesthetics that makesĀ VoronoiĀ diagramĀ specialĀ but it has some unique properties that makes it very useful in solving real life problems.Ā Ā Image:Ā Recreating Voronoi PatternĀ and its close resemblance with GiraffeĀ PatternĀ (image source:Ā https://quantdare.com/k-means-algorithm/giraffe-59009_1920/)Ā In this section, we will see how we can create Voronoi Diagram in GCĀ and alsoĀ how we can use its properties in solving some practical problems.Ā Ā First letās understand what is Voronoi diagram.Ā Ā Now, imagine there are few points in a plane, we call it the Voronoi Sites. Thus, Voronoi diagram divides the plane in a set of regions based on the Voronoi Sites.Ā These regions are called VoronoiĀ Region orĀ Cells. Every cell is associated with its corresponding Voronoi Sites.Ā Any new points lying inside any Voronoi Cell will be closest to its corresponding Voronoi Site.Ā To create the Voronoi we will use the Generated-Node-Types(GNT) Voronoi. You can learn more about GNT from thisĀ wikiĀ .Ā The node required some points as input. We can create some random points as shown in thisĀ wiki. These points will act as the Voronoi Sites.Ā Properties of Voronoi Diagram and Its ApplicationsĀ Now, imagineĀ the VoronoiĀ Sites as number of