Evolution - a demonstration

I like it and the concept is brilliant. Develop it further into an automatic system, so each one preys on the others. Get it into a format that is easily understood and followed and introduce AI algorithms like search and evade, base defense perhaps and pathfinding around dangerous animals. It would take a while but its perhaps worth working on :).

For now, perhaps use bounding circle collision detection instead of box.
 
I killed off all the dark ones, and then all of the circles. And then the slow ones. And then the small ones. Now i have light coloured fast moving ovals :) ( Oh and i killed off the jittery ones! )

I'm guessing some will have returned by the time i've finished writing this though.

Awesome little script/programme!

Definately incorporate some more into it :)

Those white ones are so hard to kill!

( EDIT: Ok...it took about a minute of me not monitoring it and went from about 10 ovals to a hundred :p )
 
I like it and the concept is brilliant. Develop it further into an automatic system, so each one preys on the others. Get it into a format that is easily understood and followed and introduce AI algorithms like search and evade, base defense perhaps and pathfinding around dangerous animals. It would take a while but its perhaps worth working on :).

For now, perhaps use bounding circle collision detection instead of box.

It is an AI algorithm (to be specific, an evolutionary algorithm).
 
You can change the mutation rate in the XML config file.
By default there is a 60% chance of a mutation happening each time one of them reproduces.
Obviously this is far more than you would see in real life, but it would take days to see anything otherwise!

Yea that may help, the thing I was thinking about is that you wipe out a certain characteristic and then it just mutates back straight away.
 
For those that were interested the code is available here:
Link



Yea that may help, the thing I was thinking about is that you wipe out a certain characteristic and then it just mutates back straight away.

Well, the mutations are random so you can never truly stop something mutating again.
It's probably more obvious in my demo as there are only a few things that can mutate so it seems like the same thing is happening over and over again.
 


Towards the end I realised I was picking the dark large ones regardless of their speed, so I was left with a load of small, lightly coloured yet slow ones.

Interesting :)
 
Shrinking the window contains all the dots to a tiny area making it easy to wipe them all out. I, the prey, evolved and out-smarted them! :p
 
Back
Top Bottom