c5f61fad32
modified generate-outputs to grab xargs using nix-shell
2024-06-07 04:14:33 -04:00
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
d07628f184
run nix fmt
2024-04-19 15:16:50 -07:00
7f6a95d19f
format .cabal & comment out profiling
2024-04-19 15:16:32 -07:00
4a2a916371
very minor cleanup
2024-04-19 15:14:05 -07:00
b4ee69cd7f
strictly formatting changes
2024-04-18 02:54:07 -07:00
b5ae16ac59
swap out systems for flake-utils
2024-02-23 09:24:40 -08:00
f4a22a9fa5
remove hip from flake.lock
2024-02-23 00:05:58 -08:00
a98fb35d51
fixed readme's nix run instructions
2024-02-23 00:05:44 -08:00
87647dc427
upgrade from hip to massiv-io, move to nixpkgs unstable in the process
2024-02-22 23:43:28 -08:00
125762ea59
formatting
2024-02-12 14:08:08 -08:00
2c2ad42325
capitalize luna's file name in readme
2024-02-12 12:13:59 -08:00
f69e2564c5
ignore pictures & svgs at top level
2024-02-12 12:11:09 -08: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
17b433b01c
added random points with minimum distance between them
2024-02-09 02:12:17 -08:00
96a141b63b
fourmolu.yaml
2024-02-09 02:11:50 -08:00
8d9a69c24b
cleanup
2024-02-09 02:11:08 -08:00
a1337127e0
main formatting & cleanup
2024-02-06 20:28:25 -08:00
5f98759aee
minor commenting in Main
2024-02-05 09:55:23 -08:00
b08826ec94
heigher cornerCount sierra example
2024-02-05 09:54:15 -08:00
f6cf8d9829
add sierra back to readme
2024-02-05 03:56:18 -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
67c7962634
remove src/dist-newstyle (added by mistake)
2024-02-05 03:00:01 -08:00
de19cba8c4
remove src/dist-newstyle (added by mistake)
2024-02-05 02:00:54 -08:00
a258661f7c
remove never-used source files (CircumCircle & Render)
2024-02-05 02:00:47 -08:00
3afccab2e9
remove Main.log
2024-02-04 19:41:17 -08:00
e52a6ae640
formatting and dead code elimination in Triangles.hs
2024-02-04 04:11:11 -08:00
801b616f91
add & apply fourmolu and dead code removal
2024-02-04 04:08:31 -08:00
37bfefdc69
avoid lines that share the same endpoints, but in reverse order
2024-02-04 04:04:46 -08:00
48e087ca2e
add nix artifacts to .gitignore
2024-02-04 03:37:24 -08:00
5c981917bd
photo filter now uses voroni diagram
...
There's still a couple bugs, some of the shapes are kinda long and
pointy. In the meantime, shapes are placed on the board longest
perimeter first to cover it up.
Also, there's still some gaps occasionally.
2024-02-04 03:34:12 -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
d2ccaf0e8a
cleanup
2023-02-03 19:34:57 -08:00
3ceb4e9961
cleanup + parralellism, not working yet
2023-02-03 17:22:41 -08:00
b75efc1161
Faster now, allowing a greater number of corners
2023-02-03 15:43:46 -08:00
2c0c172bea
cleanup
2023-02-02 22:26:42 -08:00
db4ddd407c
capitalize "install"
2023-02-02 22:16:59 -08:00
e61aeea607
slightly faster & now with a cli
2023-02-02 22:15:42 -08:00
bcdb0ccead
new method which makes a planar graph between random points
2023-02-01 16:17:38 -08:00
6045708f49
prior using diagrams's vectors and points throughout
2023-01-22 11:57:07 -08:00
Jack Wines
bbeb2a41cc
cleaning
2019-06-28 20:38:14 -04:00
Jack Wines
6448278c40
more markdown fixing
2019-03-24 14:20:14 -04:00
Jack Wines
aa3b10238c
fixed readme
2019-03-24 14:19:36 -04:00