diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-08-10 19:22:18 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-08-10 19:22:18 +0300 |
commit | e76a1ada75c171aabf0822c3a5b61ca51ae5ef6e (patch) | |
tree | 05a5821a91de55e6cb6448fec093de60e00335e9 | |
parent | 946db5655c0d1fd6bd487ddf1c4ddf11ab917204 (diff) |
change demo
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | demo/demo1.png | bin | 442 -> 344 bytes | |||
-rw-r--r-- | src/main.c | 4 |
3 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ This an implementation of very primitive tile-based wave function collapse. It uses tiles to generate an image, similar to this: -![Demo 0 of the program](demo/demo0.png) ![Demo 1 of the program](demo/demo1.png) +![Demo 0 of the program](demo/demo0.png) ![Demo 1 of the program](demo/demo1.png) It generates the tiles as ppm, then generates the image, similar to the demo image as ppm. There is a script to turn the ppm files into png using imagemagick. diff --git a/demo/demo1.png b/demo/demo1.png Binary files differindex 13ae0a8..e303ee1 100644 --- a/demo/demo1.png +++ b/demo/demo1.png @@ -12,8 +12,8 @@ size_t TILES; size_t TILE_WIDTH; size_t TILE_HEIGHT; -size_t SWIDTH = 30; -size_t SHEIGHT = 30; +size_t SWIDTH = 10; +size_t SHEIGHT = 10; int get_least_entropy_index() { |