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.
BIN
examples/birds-eye-view-result.jpeg
Normal file
|
After Width: | Height: | Size: 4.9 MiB |
|
Before Width: | Height: | Size: 5.4 MiB |
BIN
examples/luna-result.jpeg
Normal file
|
After Width: | Height: | Size: 4.4 MiB |
|
Before Width: | Height: | Size: 820 KiB After Width: | Height: | Size: 820 KiB |
|
Before Width: | Height: | Size: 9.1 MiB |
BIN
examples/sierra-result.jpeg
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 7.8 MiB |
|
Before Width: | Height: | Size: 372 KiB After Width: | Height: | Size: 372 KiB |