Sunday, August 23, 2009

Self-Organization and Conway's Game of life (With Interactive Javascript Canvas)

Introduction

I want to show you that self-organization is the magic of life. Conway's game of life defines a simple universe governed by 3 simple laws in which creative, intelligent and stable organism emerge and die.


Conway's Game of Life in Javascript


Generate Big bang!






Note:
You can also paint on the canvas using the mouse.

Supported browsers are Safari 2.0+, Opera 9.0+, Firefox 1.5+ and Chrome. Use Safari or Chrome for a much better experience. Internet Explorer does not support this technology yet.


Explanation

The universe of the game is a two-dimensional grid of cells. Each cell can be either dead or alive. Each cell interacts with it's 8 direct neighbors in the following way:

1. Birth. Any dead cell with exactly 3 live neighbors becomes live.
2. Survival. Any live cell with exactly 2 or 3 live neighbors survives.
3. Death. Any live cell with less than 2 or more than 3 neighbors dies.

The behaviors that emerge from these simple rules may be considered creative and beautiful.


Take away

Here's a quote from a simpler way by Margaret J. Wheatley.

The tendency to organize is not just found in living beings. While it is increasingly difficult in science to distinguish the living from the non-living, few of us would categorize light bulbs as alive. Yet light bulbs have exhibited a breathtaking tendency to self-organize when wired together with other bulbs. Building on earlier work, theoretical biologist Stuart Kauffman conducted a light bulb experiment in the 1960s.

ToadKauffman was interested in exploring how the complex network of human genes had developed, but he used light bulbs to demonstrate that self-organization is a fundamental process found everywhere. He wired together a network of two hundred light bulbs. Each bulb was assigned a relationship with two other bulbs. It was to turn on or off based only on the behavior of either of its two assigned partners. Even with such simple conditions, the number of possible states of on and off bulbs is 1030. The human imagination cannot begin to comprehend this number of possibilities. [...]

But the pattern of organization appeared instantly. After exploring only thirteen states, the system of bulbs settled into a repeatable pattern, flashing on and off in a repetitive cycle of four configuration. [...]

GliderWe live in a universe which seeks organization. When simple relationships are created, patterns of organization emerge. Networks, living or not, have the capacity to self-organize. Global order arises from local connections. It was these cooperative structures that first created life. Life linked with other life and discovered how to continue discovering itself. [...]

To me this explains how life can emerge from the inanimate.

30 comments:

  1. J'avais déjà vu et exploré cette idée il y a un bout de temps. Il y a tellement de possibilités et de patterns! Je serais curieux de voir les résultats avec un programme plus complexe.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete

  6. hello guy
    Do you want To play game casino online
    Welcome To Gclub Casino online
    --BlackJack
    --Baccarat
    --Slot Jackpot
    goldenslot

    ReplyDelete
  7. Hey, Wow all the posts are very informative for the people who visit this site. Good work! We also have a Website. Please feel free to visit our site. Thank you for sharing.Well written article Thank You Sharing with Us pmp training fee | pmp certification course in chennai | best pmp training institute in chennai| | pmp training class in chennai \ pmp training fee

    ReplyDelete
  8. Just saying thanks will not just be sufficient, for the fantastic lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.

    Data Science Course

    ReplyDelete
  9. We at Strive 2 drive,driving school In Melbourne. Driving School in Melbourne!
    is one of the best & safe driving school where you have an ease of access
    to a wide array of special driving features. We are focused at your
    comfort and so we have put together facilities within the site to ensure
    that you get the very best. Driving School in Melbourne!

    ReplyDelete
  10. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing... sap bi online training

    ReplyDelete
  11. This is so elegant and logical and clearly explained. Brilliantly goes through what could be a complex process and makes it obvious.


    sap tutorial

    ReplyDelete
  12. Thank you so much for sharing this nice message.
    android training institutes in coimbatore

    data science course in coimbatore

    data science training in coimbatore

    python course in coimbatore

    python training institute in coimbatore

    Software Testing Course in Coimbatore

    CCNA Course in Coimbatore

    ReplyDelete
  13. Hey buddy, your article is fantastic, and I like it. This is very helpful for me for my knowledge. I just call it a fantastic article... Love it.
    You can check: Rocketman Sinhala Subtitles

    ReplyDelete
  14. reat Article. Thank you for sharing! Really an awesome post for every one.

    IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Projects for CSE It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

    JavaScript Online Training in India

    JavaScript Training in India

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete
  15. Bayzat is redefining the work life experience,
    health insurance dubai
    medical insurance dubai
    making automated HR, payroll, employee benefits and insurance a possibility for all businesses

    ReplyDelete
  16. Just found your post by searching on the Google, I am Impressed and Learned Lot of new thing from your post.
    Sap Srm training in bangalore

    ReplyDelete
  17. Very good points you wrote here..Great stuff…I think you’ve made some truly interesting points.
    먹튀검증

    ReplyDelete
  18. I liked your post for SSC full Form or education related. My website ohp new version not instaled problem

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. This comment has been removed by the author.

    ReplyDelete
  22. Hey, love your article, please consider my ones too they are also great! Check them out here:

    best text
    though analized text
    great text
    out of the world text

    ReplyDelete
  23. People love to use these tools because it help them in makin combination of words and letters easily. It is quite shameful.
    word game always remain interesting game for the last two decays. It help you to make your mind more stronger and healthy.

    ReplyDelete
  24. unscramble these letters is a word game always remain interesting game for the last two decays. It help you to make your mind more stronger and healthy.

    ReplyDelete