/Gallery Web demo All effects ← Site

Game of Life

Cells live or die by their neighbor count — the classic automaton.

Classic Automata · a single painted seed plus one Phlux rule, simulated live · 96×96 grid

Game of Life — animated pixel art loop generated in Phluxel
Every frame above was generated by the simulation, not drawn by hand.

The rule that makes it move

This is the whole thing. Phluxel runs it on every cell, every step — the animation is what happens when you repeat it.

Game of LifePhlux
LET _n = {COUNTNZ, MOORE.R}; (_n == 3) | (R > 0 & _n == 2) ? [255,255,255,255] : [255,0,0,0]

Paste it into the Rule Editor, or pick Game of Life from the template list and skip the typing.

Make it yourself

  1. Open Phluxel and start a new field, or click Game of Life in the starter gallery to get this exact setup.
  2. Turn Wrap edges on — this one is toroidal, so motion that leaves one side comes back on the other.
  3. Press play. Change colours or numbers while it runs; you never have to stop and restart.
  4. Export a seamless loop as GIF, APNG, MP4, a PNG sequence, or a sprite sheet.

Try it without installing anything

Phluxel runs in the browser as a demo, and the free desktop edition has every feature with a watermark on exports.

Open the browser demo Download free (Windows) Wishlist on Steam

More from Classic Automata

Brian's BrainA 3-state firing automaton that grows shifting patterns. SeedsExplosive growth — sparse sparks bloom outward. WavesRipples radiate from the center. All 62 effectsThe complete starter gallery.