Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Artificial Life Simulation

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
447 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 5, 2011

This is a program I made with Python and Pygame that simulates evolution and the spread of different organisms in an environment. Each square on the grid has the capacity to hold a single organism. The program will at random make two adjacent squares fight each other, and the most capable organism will take the place of the other.

Each organism has an internal formula to grade it's capability. When two organisms fight, the formula that returns the highest value is victorious. Every now and then there will be a mutation that changes the formula in some way. If this mutation is beneficial, the new organism will spread throughout the environment and conquer it's predecessor.

This is a simulation of a 100 by 100 grid at 5fps, sped up 12x for your viewing pleasure. Here is the source code that should work in most versions of python with pygame installed:
http://pastie.org/2816410

Inspired by a talk by Christoph Adami, on making artificial life systems:
http://www.ted.com/talks/lang/eng/christophe_adami_finding_life_we_can_t_imag...

Thanks for watching!

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • bravo!

  • this is amazing

  • Cool! I actually have to do something somewhat similar to this for a class I'm taking.

  • That's pretty damn cool.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more