Commit graph

2 commits

Author SHA1 Message Date
be0715850e
switch edge thickness to local units
not sure if local vs global units make a difference here, but
nonetheless this strategy keeps the ratio of fill and border constant
2024-06-07 03:20:20 -04:00
0ef4f9b654
svg -> jpeg | different voronoi diagram method
Svg diagrams backend to jpeg was to make it easier to render & share.
The existing method stressed firefox if too many shapes were there.

The new voronoi diagram method is much faster. Examples now take
approximately 40 seconds to render as opposed to the 5-10 minutes
previously.

In short, it no longer makes the Delunay triangulation. It feeds the 20
closest points to the candidate midpoint. Those points turn out to be
enough, no need to construct the planar graph.

Additionally, dependencies were bumped.
2024-06-07 02:53:06 -04:00