examples
This commit is contained in:
parent
0f5849d687
commit
0f7327a510
4 changed files with 9 additions and 3 deletions
BIN
ArtResult.png
Normal file
BIN
ArtResult.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
10
README.md
10
README.md
|
|
@ -1,10 +1,16 @@
|
|||
# image-triangles
|
||||
###examples
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
### to build:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Examples:
|
||||
|
||||

|
||||
|
|
|
|||
BIN
art.png
Normal file
BIN
art.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3 MiB |
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue