updated readme

This commit is contained in:
Phuntsok Drak-pa 2019-03-19 14:19:27 +01:00
parent 15c02c852d
commit 3654e56d2e
1 changed files with 25 additions and 2 deletions

View File

@ -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]].