From e76a1ada75c171aabf0822c3a5b61ca51ae5ef6e Mon Sep 17 00:00:00 2001 From: kartofen Date: Wed, 10 Aug 2022 19:22:18 +0300 Subject: change demo --- README.md | 2 +- demo/demo1.png | Bin 442 -> 344 bytes src/main.c | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2334948..47cd43e 100644 --- a/README.md +++ b/README.md @@ -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 index 13ae0a8..e303ee1 100644 Binary files a/demo/demo1.png and b/demo/demo1.png differ diff --git a/src/main.c b/src/main.c index 8461707..f291ee5 100644 --- a/src/main.c +++ b/src/main.c @@ -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() { -- cgit v1.2.3