This commit is contained in:
Jack Wines 2019-03-24 14:18:08 -04:00
parent 0f5849d687
commit 0f7327a510
4 changed files with 9 additions and 3 deletions

BIN
ArtResult.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View file

@ -1,10 +1,16 @@
# image-triangles
###examples
![sierra](sierra.jpg)
![result](sierrraResult.png)
![example1Orig](sierra.jpg)
![example1result](sierraResult.png)
![example2Orig](art.png)
![example2Result](artResult.png)
### to build:
Examples:
![example1Orig](sierra.jpg)

BIN
art.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 MiB

View file

@ -47,7 +47,7 @@ renderTri image dimensions gen progress = Ren.makeTriangle (Ren.toPointList dime
-- the following should be considered triangle shaders
-- modify them to your liking, their outputs are expected to be in [0, 1]
-- TODO: move these into a separate module
opacity' = 0.4
--opacity' = 1 - area