File:Darwin image evolution from random patches.gif

Darwin_image_evolution_from_random_patches.gif(297 × 400 pixels, file size: 25.97 MB, MIME type: image/gif, looped, 1,000 frames, 40 s)

Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

Summary

Description
English: This image shows the highest fitness individual in each generation from an evolving population of images. Each frame in the animation is a generation. Every individual image is initially made up of a random collection of patches. The genome for an individual is the greyscale color (0-255) of all the patches in an image. The image population evolves according to:
  1. Evaluate individual fitness. Fitness is the sum of the squares of the difference in greyscale value between each pixel with that of the target image
  2. Rank the population according to fitness.
  3. Mix in some genes (patch color) from next higher fitness individual (for each individual below the fittest).
  4. Repeat
The target image is from https://en.wikipedia.org/wiki/File:Charles_Darwin_by_Julia_Margaret_Cameron,_c._1868.jpg
This is an example of Darwinian evolution. The program (written in rust) does not use random mutations or jumping genes and therefore any gene in the final image must have existed somewhere in the initial population in that position.
Date
Source Own work
Author NeedsGlasses

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Evolution of random patches using fitness based on error with image of Darwin

25 February 2024

image/gif

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current01:11, 25 February 2024Thumbnail for version as of 01:11, 25 February 2024297 × 400 (25.97 MB)NeedsGlassesUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):