Neat AI Does Conways AI Life - Allowing a neural network evolve its own patterns

514,585
0
Published 2021-04-17
Use my link bit.ly/NeatAIDCJan22 and check out the first chapter of any DataCamp course for FREE to unlock new career opportunities and become data fluent today!

Implementing a neural network to evolve new shapes and patterns in Conways Game of Life.

Music:
www.bensound.com/


From Wikipedia :
en.wikipedia.org/wiki/Conway%27s_Game_of_Life

The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.[1] It is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves. It is Turing complete and can simulate a universal constructor or any other Turing machine.

Origins
In late 1940, John von Neumann defined life as a creation (as a being or organism) which can reproduce itself and simulate a Turing machine. Von Neumann was thinking about an engineering solution which would use electromagnetic components floating randomly in liquid or gas. This turned out not to be realistic with the technology available at the time. Stanislaw Ulam invented cellular automata, which were intended to simulate von Neumann's theoretical electromagnetic constructions. Ulam discussed using computers to simulate his cellular automata in a two-dimensional lattice in several papers. In parallel, von Neumann attempted to construct Ulam's cellular automaton. Although successful, he was busy with other projects and left some details unfinished. His construction was complicated because it tried to simulate his own engineering design. Over time, simpler life constructions were provided by other researchers, and published in papers and books.[citation needed]

Motivated by questions in mathematical logic and in part by work on simulation games by Ulam, among others, John Conway began doing experiments in 1968 with a variety of different two-dimensional cellular automaton rules. Conway's initial goal was to define an interesting and unpredictable cell automaton. For example, he wanted some configurations to last for a long time before dying and other configurations to go on forever without allowing cycles. It was a significant challenge and an open problem for years before experts on cellular automata managed to prove that, indeed, the Game of Life admitted of a configuration which was alive in the sense of satisfying von Neumann's two general requirements. While the definitions before the Game of Life were proof-oriented, Conway's construction aimed at simplicity without a priori providing proof the automaton was alive.

Conway chose his rules carefully, after considerable experimentation, to meet these criteria:

There should be no explosive growth.
There should exist small initial patterns with chaotic, unpredictable outcomes.
There should be potential for von Neumann universal constructors.
The rules should be as simple as possible, whilst adhering to the above constraints.[2]
The game made its first public appearance in the October 1970 issue of Scientific American, in Martin Gardner's "Mathematical Games" column. Theoretically, the Game of Life has the power of a universal Turing machine: anything that can be computed algorithmically can be computed within the Game of Life.[3][4] Gardner wrote, "Because of Life's analogies with the rise, fall and alterations of a society of living organisms, it belongs to a growing class of what are called 'simulation games' (games that resemble real-life processes)."[5]

Since its publication, the Game of Life has attracted much interest because of the surprising ways in which the patterns can evolve. It provides an example of emergence and self-organization. Scholars in various fields, such as computer science, physics, biology, biochemistry, economics, mathematics, philosophy, and generative sciences, have made use of the way that complex patterns can emerge from the implementation of the game's simple rules.[citation needed] The game can also serve as a didactic analogy, used to convey the somewhat counter-intuitive notion that design and organization can spontaneously emerge in the absence of a designer. For example, philosopher Daniel Dennett has used the analogy of the Game of Life "universe" extensively to illustrate the possible evolution of complex philosophical constructs, such as consciousness and free will, from the relatively simple set of deterministic physical laws which might govern our universe.[6][7][8]

Rules
Generative Art,AI,A.I.,neural Net,using Python,python,tutorial,processing,p5js,coding,speedrun,blender,after effects

All Comments (21)
  • @okboing
    I love the idea of the discovery of the first glider, it has the same essence of first discovering Pluto. At first it was just a few pixels on paper, now it's much more.
  • @inscseeker401
    I just coded my own game of life simulation and was trying to implement some reinforcement learning when I came across your video!
  • @ThomSonnyYeah
    I can barely understand 1% of this but I know there’s something magical about it
  • @UnitSe7en
    Life in Life is just simply one of the most amazing things ever. If it doesn't blow your mind then you don't understand what's going on.
  • @okboing
    You know Golly can run this type of simulation perfectly with a lot of shortcuts, like not simulating anything more than 1 cell away from a live cell, which cuts out all empty space.
  • @Lebensgott
    the game of life is just so fascinating... multiple professors in different classes used it as examples in different subject areas....
  • @aeon_borealis
    Holy crap, did it just fractally iterate itself? That’s so incredible!
  • @sebbes333
    6:39 That "ship" should be called a Frog :D (It looks like a frog, seen from above, it is jumping upwards)
  • @kireitonsi
    This channel is potentially the most underrated ever. I really hope this blows up!
  • @sylenzos6869
    i really want to send a single unintended shape into that life in life setup.
  • OOOOHHH MYYYY GOOOODDDDD THAT FINALE HIT ME LIKE A FREIGHT TRAIN HOLY GUACAMOLE!
  • @ganglians
    I didn't know there were more complex versions of this game, I'm gonna try them out
  • @RAZREXE
    This is so interesting, I just started reading about neural networks and I am glad YouTube recommendations are working so well.
  • Fun fact: In the Infinite Dimensions April Fools update for Minecraft, there is a Langdon’s Ant dimension.
  • @Jensmalm
    Thats genious. That last scene was mindblowing!
  • @robertm4189
    The last 5 seconds, you cheeky buggers. Such a finishing touch, well played for those who wait for that last moment . 👏
  • @lorizoli
    The exits scene really WOWed me.