aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-10 19:22:18 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-10 19:22:18 +0300
commite76a1ada75c171aabf0822c3a5b61ca51ae5ef6e (patch)
tree05a5821a91de55e6cb6448fec093de60e00335e9
parent946db5655c0d1fd6bd487ddf1c4ddf11ab917204 (diff)
change demo
-rw-r--r--README.md2
-rw-r--r--demo/demo1.pngbin442 -> 344 bytes
-rw-r--r--src/main.c4
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
--- a/demo/demo1.png
+++ b/demo/demo1.png
Binary files 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()
{