Skip to content

timothja/GameOfLife_Lenia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cellular Automaton: Lenia

This Python project is an implementation and exploration of a continuous version of Conway's Game of Life inspired by ScienceEtonnante's video. It is based on Lenia, a continuous cellular automaton originally developed by Bert Wang-Chak Chan. Lenia is a continuous generalization of the Game Of Life with continuous states, space and time.

Inspiration and References

Installation

  1. Clone the repository:

    git clone https://github.com/timothja/GameOfLife_Lenia
    cd GameOfLife_Lenia
  2. Install the required packages:

    pip install -r requirements.txt

Usage

Run the main script to execute the cellular automaton simulation:

cd src
python3 Lenia.py

What you should get

Growth function and kernel used: plot

End result after 280 generations starting from a random state: plot

You can get some interesting behaviour like this orbium:

orbium.mp4

About

Exploration of Lenia, a generalization of Conway's Game Of Life with continuous states, space and time.

Topics

Resources

Stars

Watchers

Forks

Languages