Skip to content

Genetic algorithm for image reconstruction based on the principles of DNA replication with a certain error rate (forced mutation). DNA is constructed of coordinates, degrees of transparency, and RGB codes or gray scales for a given number of polygons.

License

Notifications You must be signed in to change notification settings

herrmannrobert/GenArt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenArt:

GenArt is an R package that provides a genetic algorithm based on the principles of DNA replication with a certain error rate (mutation). The DNA is constructed of multiple polygons (coordinates, color codes, and transparencies) which results in an image similar to the source (or not) once they are drawn in a plot. If the mutated DNA is of better fitness compared to its source, it is kept for another mutation, if not, the source DNA is altered again, and so on and so forth...

Main features are:

  • cropping source image for better results
  • construction of initial DNA (randomly)
  • application of the actual algorithm

About

Genetic algorithm for image reconstruction based on the principles of DNA replication with a certain error rate (forced mutation). DNA is constructed of coordinates, degrees of transparency, and RGB codes or gray scales for a given number of polygons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages