From 3654e56d2efccbb4b322eacc0a39405516d61243 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Tue, 19 Mar 2019 14:19:27 +0100 Subject: [PATCH] updated readme --- README.org | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 2e38fa1..6f6a818 100644 --- a/README.org +++ b/README.org @@ -7,7 +7,30 @@ image from random shapes of random color applied. There will be lots of different tests on what method is the best and/or the fastest to get a new image as close as possible to the reference image. -* Technical information +The first method will be the random addition of squares of random size to random +locations of random color. If the picture with the new random square improves in +similarity with the reference image, then it is preserved, otherwise the change +is discarded. The generation of the new pictures will be multi-threaded; if two +or more threads return an improved picture, the best one will be selected. Then +it will be reused by the next threads. + +The second method will instead delegate different parts of the picture to +different threads. For instance, if the software runs on four threads, the +reference picture will be divided in four zones, each one will be generated by a +separate thread. + +The third method, which can be combined with either the first or the second, +will limit the choice in terms of random color to the colors already existing in +the reference image. + +The fourth method, which can be combined with the three first methods, will +force the random squares to be larger during the first iterations and +progressively smaller until the smallest specified size which should be reached +by the last iteration. + +More methods will be added later once these four will be implemented. + +* How to build this project To build the project, you will also be required to install the development libraries your distro offers for GTK+3. For Ubuntu, it is ~libgtk3-devel~, for Void Linux it is ~gtk3-devel~ and for Arch Linux it is already bundled with the ~gtk3~ package. @@ -51,4 +74,4 @@ This project was built and tested using clang-7, lldb and gdb on Void Linux * Credits -Awesome C++ project template by [[https://github.com/devkoriel/AwesomeCppTemplate][devkoriel]]. +Awesome C++ Template by [[https://github.com/devkoriel/AwesomeCppTemplate][devkoriel]].