Evolution Demonstration     

Evolution is interesting. Something starts small and useless, but over time the most successful traits win out. This experiment isolates one trait - speed. The slowest moving permutations are killed and the others can reproduce.

To keep things simple, the only metric is speed along the line. To visualize this, think of a wind blowing from the left. Each "animal" will need to evolve to have high wind resistance, but low mass. In code, this is done by rewarding height, and penalizing width. Therefore, the tallest, thinnest variations will survive and reproduce.

Each tick of the clock, there is a 50% chance that an animal will die. The red line designates that. The slowest animal is always the one to die. Once killed, one of the remaining animals (chosen at random) is cloned, and it's width and height randomly changed +/- an amount. The odds are the same on whether this mutation is good or bad, if it was biased then the whole experiment would be worthless.

You can run the exe to see it in action. Each of the 8 animals starts out randomly (but small and mostly round). As they move along they *all* evolve to be tall and thin.

Files

  Site by Kallahar - kallahar@kallahar.com - Hosted by DreamHost