• Robert Rapplean
    Robert Rapplean
    2013-03-26

    Cool looking. What does it do?

  • L3MNcakes
    L3MNcakes
    2013-03-28

    In terms of practical application, it doesn't really do anything useful. =P I wrote it to experiment with genetic algorithms and with nothing more than an "I wonder what would happen if..." attitude. Haha.

    The premise is that some population of circles compete over a replenishing supply of food (hexagons). If a circle gets enough food in a certain amount of time it becomes 'full', will seek out another circle that is also 'full', mate with it to produce 2 children, and then die off. If a circle does not get enough food in a certain amount of time, it will simply die off without mating. Circles have a few traits which make them different from one another. These traits are: color, speed, amount of food one must eat before breeding, life span, and the percentage of time a circle goes for the nearest food as opposed to a random food. The size of the circle as well as the number inside is representative of which generation a particular circle belongs to.

    It's mostly just a neat little simulation that came about out of curiosity and turned out cool looking so decided it was worth sharing. =)

  • L3MNcakes
    L3MNcakes
    2013-03-28

    Here's a list of variables that can be tweaked to modify the simulation: http://71.237.100.30/ai_test/js/config.js

  • Robert Rapplean
    Robert Rapplean
    2013-04-05

    Cool, so a basic evolutionary process. What characteristics do you mutate when it runs? Do you expect to use this technique for anything else?