This is my first proof of concept using genetic algorithms. It’s a program that will generate a random target color and would “learn” how to get to this color from any given random color. It uses the principle of natural selection used by genetic algorithms to get closer and closer every generation. You can read more about genetic algorithms here. I’d later use this knowledge in the Genetic Robots project here.

Every flash in the GIF means that the current set of squares is filtered based on how “close that color is to the target”, only the best squares are kept and used for the next set.

  • Language used C#
  • Techniques used Unity, Genetic Algorithms