True's beaked whale.jpg

Western spotted skunk

Hooded skunk

Yellow-throated Marten

Wolverine

Updated Voronoi diagram Inkscape extension

Updated jim_voronoi.zip extension to work with Inkscape 1.3! (Original version of the extension.). To install, go to Inscape -> Extensions -> Manage extension -> Install packages tab -> click on file icon and select the zip file.

Takes as input a shape to fill with a Voronoi diagram. The number of levels of recursive Voronoi diagrams can be set.

Options

Random seed points: Number of starting points. The distribution of the starting points is set for each level of the diagram.

Options:
Levels of recursion: Within each Voronoi region, a new Voronoi diagram is created.

Level(rand_type):relax,…: Sets of parameters for each Voronoi diagram level.
<level>(<normalization method>[param1=n;parms2 = n.n; params3=foo…]):<Llyod’s relaxation interations>
The randomization type can be ‘normdist’, ‘normdist_edge’, ‘random’. ‘Random’ distributes the seed points randomly. ‘Normdist’ distributes the seed points around one or more ‘centers’ (default is 1 center), distributed around the centroid. ‘Normdist_edge’ moves the seeds away from the centers toward the edge.
Llyod’s relaxation moves each of the points halfway between its current position and the centroid of the Voronoi polygon it is located in with each iteration.

Parameters:
centers = 2 – Number of centers to cluster ‘normdist’ random points around. Centers are spaced at center_dist from the centroid of the input path.
keep_centers = 0,1,3… – Which of the centers to use. Numbering starts at 0.
center_dist = 1.23 – Distance from the path centroid to place the random seed centers. dist = size / center_dist. Default = 2.0. Large numbers push the centers towards the edge.
min_dist = 1.23 – Minimum distance of random points from the edge of the path. In Inkscape units. Default = 5.
sd = 1.23 – Standard deviation of the random points. sd = standard deviation of the random points. sd = size / sd. Larger numbers give a tighter distribution. Default = 2.5.
xy = x1,y1, x2,y2… – Explicitly enter random seed point locations. In Inkscape units. Overrides random dist center parameters.

Return lines or polygons: The Voronoi regions are added to the document as polygons or lines.

Leave a Reply