slightly faster & now with a cli
This commit is contained in:
parent
bcdb0ccead
commit
e61aeea607
4 changed files with 36 additions and 30 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# image-triangles
|
||||
### examples
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
|
@ -11,6 +11,5 @@ install [cabal & ghc](https://www.haskell.org/ghcup/) if you don't have them.
|
|||
|
||||
```
|
||||
cabal update
|
||||
# change input file name in Main.hs line 95-ish
|
||||
cabal run image-triangles -- -o output.svg --height 1000 --width 1000
|
||||
cabal run image-triangles -- --cornerCount 800 --input examples/sierra.jpg --output output.svg
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue