Skip to content
Lenia - Mathematical Life Forms
Branch: master
Clone or download
Chakazul Update Lenia.py to match the paper
Major changes:
- Added temporal sampling and auto-rotation mode
- Allow to set P (maximum state)
- Allow to set beta (peaks of kernel rings)
- Allow to copy as table, can be pasted in Excel etc
- Allow to save as sequence of files
Minor changes:
- Moment of inertia (I) replaced by Gyradius (r)
- Statistics: dynamic segment length (20*T) instead of 200 steps
- Record movie/GIF only when running; slight pause at the end of GIF
- New color map W/B (white on black)
- More stats modes (corner mode, recurrence plot)
- More markers (color bar, arrow, solid scale bar)
- Fewer display modes
Latest commit 1538c33 Jan 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Android
JavaScript Move files Feb 26, 2018
Jupyter Delete dummy Feb 25, 2018
Matlab Rename LeniaMatlab.m to Lenia.m Feb 26, 2018
Python Update Lenia.py to match the paper Jan 31, 2019
R Delete dummy Feb 25, 2018
Screencap
.gitattributes
LICENSE.md Create LICENSE Feb 26, 2018
README.md Update README.md Dec 27, 2018

README.md

Lenia

Lenia is a 2D cellular automata with continuous space, time and states. It produces a huge variety of interesting life forms.

There are various versions available. Python, Matlab and web (JavaScript) versions are real-time, interactive, and equipped with statistics tools. Jupyter and R versions are non-interactive and just for demonstration purposes.

Animation short

Lenia at Vimeo

Lenia at YouTube

Python Version

Fastest version, minimalist layout. Now with GPU support! (Needs Python3 and various libraries)

screen cap screen cap screen cap

Matlab Version

Fast version, great tools for statistical analysis. (Needs purchased copy of Matlab)

screen cap

JavaScript Version

The original program, slow but with most features.

screen cap 1 screen cap 2 screen cap 3

3D rendering using plot.ly

orbium       gyrorbium

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.