A photo filter.
Find a file
Jack Wines 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
examples swapping to voroni diagram 2024-01-19 02:31:19 -08:00
src photo filter now uses voroni diagram 2024-02-04 03:34:12 -08:00
.envrc swapping to voroni diagram 2024-01-19 02:31:19 -08:00
.gitignore swapping to voroni diagram 2024-01-19 02:31:19 -08:00
cabal.project swapping to voroni diagram 2024-01-19 02:31:19 -08:00
flake.lock swapping to voroni diagram 2024-01-19 02:31:19 -08:00
flake.nix swapping to voroni diagram 2024-01-19 02:31:19 -08:00
image-triangles.cabal photo filter now uses voroni diagram 2024-02-04 03:34:12 -08:00
LICENSE parallelism 2018-12-18 01:32:49 -05:00
README.md swapping to voroni diagram 2024-01-19 02:31:19 -08:00

image-triangles

examples

Sierra mountains original Sierra mountains post-filter Dog original Dog post-filter

to run:

Install cabal & ghc if you don't have them.

cabal update
cabal run image-triangles -- --cornerCount 800 --input examples/sierra.jpg --output output.svg