turbomaze / cgp-evolutionary-art Goto Github PK
View Code? Open in Web Editor NEWRandom mathematical equations are used to generate appealing images, which are improved with a genetic algorithm through the use of a human fitness function. I used Cartesian genetic programming (CGP) to create the equations, and in this case, the CGP has access to around 20 functions, like addition, rounding, and exponentiation. A few project specific heuristics are used to obtain interesting pixel colors for each (x,y) location of the images. The images are mutated as per CGP, with the fitness function simply being the boolean value of whether or not an image was selected by the user.