Commit graph

14 commits

Author SHA1 Message Date
628e02b572
reorganize examples & add script to make them 2024-06-07 03:58:13 -04:00
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
3ed81da25a
minimum distance sampling
https://www.cs.ubc.ca/~rbridson/docs/bridson-siggraph07-poissondisk.pdf

That paper provided a wonderful way to do minimum distance sampling.
2024-02-12 12:11:01 -08:00
b08826ec94
heigher cornerCount sierra example 2024-02-05 09:54:15 -08:00
29b5b78d1a
square photo bug fix 2024-02-05 03:54:36 -08:00
e0d7d4d15b
new README and examples
with caveats about blanks & square pictures
2024-02-05 03:36:42 -08:00
8ad7407935
new README and examples
with caveats about blanks & square pictures
2024-02-05 03:00:01 -08:00
dd9bb2c88a
swapping to voroni diagram 2024-01-19 02:31:19 -08:00
f1e5ff2b86 swap from avif to webp 2023-02-08 23:23:27 -08:00
b9cc69b5a0 added new avif examples 2023-02-08 23:20:23 -08:00
8723e7c81b fixed the corners, swapped to cairo 2023-02-08 23:19:52 -08:00
b75efc1161 Faster now, allowing a greater number of corners 2023-02-03 15:43:46 -08:00
bcdb0ccead new method which makes a planar graph between random points 2023-02-01 16:17:38 -08:00