Proposal for Voronoi extension
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Vincent Nivoliers |
Bug Description
Hi,
I was looking for a plugin to compute Voronoi diagrams in inkscape. Although there already exists a plugin for Voronoi in inkscape, it is intended for the generation of random Voronoi patterns in paths [1]. My usage of this was more to be able to select a set of objects and have the Voronoi diagram of their centroids as a bunch of lines.
the attached file does so using a "voronoi_
Here is a small description of what it does:
Input: http://
a set of selected objects (text objects are not handled) to be treated as seeds
Output: http://
a set of lines representing the Voronoi diagram of these seeds. The bounding box of the diagram is computed to be 9 times as big as the bounding box of the input objects, centered on it. However providing the capability of using any box (page area or provided by the user) would be easy.
I believe this feature is some kind of trivial extension of what the Voronoi script is already capable of, but it took me less time to code it myself than to bother you with some feature request. I'm open to suggestions and I will do my best to make the code more readable in case you would want to use it.
[1] Related report:
Bug #171901 “Effect Voronoi or Mosaic random”
<https:/
Related branches
tags: |
added: extensions-plugins removed: extension feature voronoi |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
description: | updated |
Changed in inkscape: | |
status: | New → Confirmed |
Changed in inkscape: | |
status: | Confirmed → In Progress |
Changed in inkscape: | |
assignee: | nobody → Vincent Nivoliers (nivoliev) |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
The associated inx file