A photo filter.
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. |
||
|---|---|---|
| examples | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| cabal.project | ||
| flake.lock | ||
| flake.nix | ||
| image-triangles.cabal | ||
| LICENSE | ||
| README.md | ||
image-triangles
examples
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

