- compile and run main.cpp:
g++ main.cpp && ./a.out
It will create a random matrix, with the rules defined in "connections.json", and print the result in the file "out.txt". - Create the image:
wave-function-collapse\image_py>python create_image.py < ../out.txt