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

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

A(t+dt) = clip( A(t) + dt·G(K∗A), 0, 1 )
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 unicaudatus0.150.017単尾。最も基本的なOrbium、直進しながらゆっくり回転 / Single tail. The most basic Orbium; moves straight while rotating slowly.
Orbium unicaudatus ignis0.1190.0148"炎"型。中心が窪んだ形状で、より複雑な自己修復挙動 / "Flame" type. Hollow in the center, with more complex self-repair behavior.
Orbium bicaudatus0.150.014双尾。2本の"尾"を引きずるように移動 / Double tail. Moves dragging two "tails."
Orbium bicaudatus ignis0.120.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.

今回のシミュレーターは、あなたが手でμ・σスライダーを動かして探索する"人力版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

シミュレーターで試す / Try the simulator →

hamzWorkerz(ハムズワーカーズ) ・ プライバシーポリシー / Privacy