Lenia
Conwayのライフゲームを連続化した、生物的な自己組織化パターンが自発的に移動・回転するセルオートマトン。
A cellular automaton that makes Conway's Game of Life continuous. Lifelike self-organizing patterns glide and rotate on their own.
使い方 / How to use
- プリセット / Presets:Orbium(球虫)の4つの亜種。全て同じ半径R=13のカーネルを使いますが、成長関数のμ・σが少し違うだけで、単尾・双尾・"炎"のような形の違う個体になります。 / Four variants of Orbium. All use the same kernel of radius R=13; only a slight difference in the growth function's μ and σ gives single-tailed, double-tailed or "flame"-shaped creatures.
- μ・σ・dtスライダー / μ, σ and dt sliders:自由に動かせます。プリセットの値から少しでもズラすと、個体が安定して動き続けるか、崩壊して消えるか、分裂するかが大きく変わります。 / Move them freely. Even a small shift from a preset's values can decide whether a creature keeps moving stably, collapses and vanishes, or splits.
- キャンバスをクリック / Click the canvas:クリックした場所に、現在選択中の生物のコピーを配置します。複数の個体を衝突させたり、追加してみたりできます。 / Places a copy of the selected creature where you click. You can add several and make them collide.
Leniaの個体は、Gray-Scottの斑点のようにランダムなノイズから自発的に生まれるものではなく、正確な初期パターン(種)を置いて初めて安定して動くことがほとんどです。今回のOrbiumデータは、Lenia開発者Bert Chan本人のリポジトリ(Chakazul/Lenia)から実際の値を復号して使っています。
Unlike the spots in Gray-Scott, Lenia creatures rarely emerge on their own from random noise; in most cases they only move stably once an exact initial pattern (a "seed") is placed. The Orbium data used here was decoded from the actual values in Lenia's author Bert Chan's own repository (Chakazul/Lenia).
方程式 / Equations
G(u) = 2·exp(−(u−μ)²/2σ²) − 1
K(r) = exp(4 − 4/(4r(1−r))) (0<r<1、半径Rで正規化 / normalized by the radius R)
Aは0〜1の連続値を取る1チャンネルの状態場です。Kは半径R=13のリング状カーネルで、中心(r=0)と外縁(r=1)でゼロ、中間(r≈0.5)でピークを持つ滑らかな山型をしています。K∗Aは近傍の加重平均で、これをuとして成長関数Gに通すと、-1〜+1の"成長率"が得られます。
A is a single-channel state field with continuous values from 0 to 1. K is a ring-shaped kernel of radius R=13: it is zero at the center (r=0) and at the outer edge (r=1), with a smooth peak in between (r≈0.5). K∗A is a weighted average over the neighborhood; passing it as u through the growth function G gives a "growth rate" between −1 and +1.
Conwayのライフゲームとの対比が本質です。ライフゲームは状態(0/1)・空間(8近傍)・時間(世代)がすべて離散ですが、Leniaはこの3つすべてを連続化しています。その結果、グライダーのようなカクカクした移動パターンではなく、なめらかに滑空し、回転し、衝突すると弾かれ合ったり合体したりする、生物的な質感を持つ"生物(life form)"が生まれます。
The contrast with Conway's Game of Life is the heart of it. In the Game of Life, state (0/1), space (8 neighbors) and time (generations) are all discrete; Lenia makes all three continuous. Instead of the jerky movement of a glider, you get "life forms" that glide smoothly, rotate, and bounce off or merge with each other when they collide, with a distinctly organic feel.
プリセットの詳細 / Presets in detail
| 名前 / Name | μ | σ | 特徴 / Notes |
|---|---|---|---|
| Orbium unicaudatus | 0.15 | 0.017 | 単尾。最も基本的なOrbium、直進しながらゆっくり回転 / Single tail. The most basic Orbium; moves straight while rotating slowly. |
| Orbium unicaudatus ignis | 0.119 | 0.0148 | "炎"型。中心が窪んだ形状で、より複雑な自己修復挙動 / "Flame" type. Hollow in the center, with more complex self-repair behavior. |
| Orbium bicaudatus | 0.15 | 0.014 | 双尾。2本の"尾"を引きずるように移動 / Double tail. Moves dragging two "tails." |
| Orbium bicaudatus ignis | 0.12 | 0.0113 | 双尾+炎型の組み合わせ / Combination of double tail and flame type. |
今後の発展:Flow-Lenia・ASAL / Further developments: Flow-Lenia and ASAL
このシミュレーターはLeniaの最も基本的な単一チャンネル版です。発展形としては、次のようなものがあります。
This simulator is the most basic single-channel version of Lenia. Developments beyond it include the following.
- Flow-Lenia:質量保存則を導入し、局所的に継承可能なパラメータを持たせることで、種同士が相互作用し進化する仕組みを追加したもの / Introduces conservation of mass and locally inheritable parameters, adding a mechanism for species to interact and evolve.
- ASAL (Sakana AI):foundation modelを使って、μ・σ・カーネル形状などのパラメータ空間を自動探索し、面白い"生物"を発見する手法 / Uses foundation models to automatically search the parameter space (μ, σ, kernel shape and so on) and discover interesting "creatures."
今回のシミュレーターは、あなたが手でμ・σスライダーを動かして探索する"人力版ASAL"とも言えます。面白い個体を見つけたら、パラメータをメモしておくと良いかもしれません。
You could think of this simulator as a "human-powered ASAL," where you explore by moving the μ and σ sliders by hand. If you find an interesting creature, it may be worth noting down its parameters.
データのライセンス / Data license
Orbiumの個体データはBert Chanの公開データを復号・再構成したものです。Copyright (c) 2018 Bert Chan。MITライセンスで利用しています。ライセンス全文 / MIT license · 出典・変更内容 / Attribution and changes。
The Orbium creature data was decoded and reconstructed from Bert Chan's published data. Copyright (c) 2018 Bert Chan, used under the MIT license.
参考文献 / References
- B. W. Chan, "Lenia: Biology of Artificial Life," Complex Systems, 2019.
- Chakazul/Lenia — GitHub(本シミュレーターのOrbiumデータの出典 / source of the Orbium data used here)
- Automating the Search for Artificial Life with Foundation Models (ASAL)
- Flow-Lenia: Emergent evolutionary dynamics in mass conservative continuous cellular automata
シミュレーターで試す / Try the simulator →
hamzWorkerz(ハムズワーカーズ) ・ プライバシーポリシー / Privacy