This is a javascript demo of cellular automaton. You can draw cells and play with parameters to see how it all evolves from generation to generation. Initial rules are those of Conway's Game of Life, but you can tune them.
Original code from : http://www.quesucede.com/public/gameoflife/game.html.