diff options
-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() { |