Self-Evolving Block Grid

Watch an 11x11 grid of glowing blocks evolve on its own into hypnotic geometric mandalas using a simple 4-neighbor cellular automaton rule in vanilla Java.

Java EditionComplex Contraptions & CinematicsMedium24 commandsTested on a real 26.2 & 26.3 server
A blackstone-framed 11x11 Minecraft grid displays evolving symmetrical patterns of sea lanterns, amethyst blocks, and black concrete. Download the GIF Video & GIF © www.9minecraft.net

SimulationsTechnologyMysticBlackCyanPurpleLearningDecorationMap MakingBlock building (fill/setblock/clone)21+ commands

A dark 11x11 canvas framed in polished blackstone springs to life from a single glowing sea_lantern at the centre. Every few ticks, each tile checks its four orthogonal neighbors and updates according to a simple rule: any cell with one or two active neighbors lights up, while others fade through shimmering amethyst_block trails back into black_concrete.

From that single starting point, waves of light expand outward, bounce off the frame walls, and weave back inward into shifting diamonds, stars, and symmetrical mandalas topped with cyan particles.

1. Setup - type these once 10 commands

  1. /fill ~-7 ~-1 ~-7 ~7 ~-1 ~7 polished_deepslate
  2. /fill ~-6 ~ ~-6 ~6 ~ ~6 polished_blackstone_bricks
  3. /fill ~-5 ~ ~-5 ~5 ~ ~5 black_concrete
  4. /setblock ~ ~ ~ sea_lantern
  5. /scoreboard objectives add c9_t dummy
  6. /scoreboard objectives add c9_n dummy
  7. /scoreboard players set c9_sys c9_t -122
  8. /kill @e[tag=c9_cell]
  9. /kill @e[tag=c9_init]
  10. /summon marker ~-5 ~ ~-5 {Tags:["c9_init"]}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add c9_sys c9_t 1
  2. /execute if score c9_sys c9_t matches 4.. run scoreboard players set c9_sys c9_t 0
  3. /execute if score c9_sys c9_t matches ..-1 at @e[tag=c9_init] run summon marker ~ ~ ~ {Tags:["c9_cell"]}
  4. /execute if score c9_sys c9_t matches ..-1 as @e[tag=c9_init] at @s run tp @s ~1 ~ ~
  5. /execute if score c9_sys c9_t matches ..-1 as @e[tag=c9_init] at @s if block ~ ~ ~ polished_blackstone_bricks run tp @s ~-11 ~ ~1
  6. /execute if score c9_sys c9_t matches 0 run scoreboard players set @e[tag=c9_cell] c9_n 0
  7. /execute if score c9_sys c9_t matches 0 as @e[tag=c9_cell] at @s if block ~1 ~ ~ sea_lantern run scoreboard players add @s c9_n 1
  8. /execute if score c9_sys c9_t matches 0 as @e[tag=c9_cell] at @s if block ~-1 ~ ~ sea_lantern run scoreboard players add @s c9_n 1
  9. /execute if score c9_sys c9_t matches 0 as @e[tag=c9_cell] at @s if block ~ ~ ~1 sea_lantern run scoreboard players add @s c9_n 1
  10. /execute if score c9_sys c9_t matches 0 as @e[tag=c9_cell] at @s if block ~ ~ ~-1 sea_lantern run scoreboard players add @s c9_n 1
  11. /execute if score c9_sys c9_t matches 0 as @e[tag=c9_cell] at @s unless score @s c9_n matches 1..2 if block ~ ~ ~ amethyst_block run setblock ~ ~ ~ black_concrete
  12. /execute if score c9_sys c9_t matches 0 as @e[tag=c9_cell] at @s unless score @s c9_n matches 1..2 if block ~ ~ ~ sea_lantern run setblock ~ ~ ~ amethyst_block
  13. /execute if score c9_sys c9_t matches 0 as @e[tag=c9_cell] at @s if score @s c9_n matches 1..2 run setblock ~ ~ ~ sea_lantern
  14. /execute if score c9_sys c9_t matches 0.. as @e[tag=c9_cell] at @s if block ~ ~ ~ sea_lantern run particle dust{color:[0.15,0.95,1.0],scale:1.1} ~ ~0.85 ~ 0.25 0.15 0.25 0 1

How it works

Frames from the test run

Self-Evolving Block Grid - frame 1Self-Evolving Block Grid - frame 2Self-Evolving Block Grid - frame 3

Recorded on our own test server: 68 frames at about 9.6 fps. Our image check saw: An 11x11 blackstone-framed grid of sea lanterns, amethyst blocks, and black concrete evolves through symmetrical cellular patterns across the three frames.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Find a flat, open area of at least 15x15 blocks and stand at the centre where you want the grid to sit.
  2. Run the 10 setup commands in chat in order (you can paste them into impulse command blocks chained together for convenience).
  3. Place 14 repeating, always-active command blocks nearby and paste one loop command into each block in order.
  4. Wait about 6 seconds while the invisible scanner places all 121 grid markers across the black concrete canvas.
  5. Watch from above as the centre sea lantern begins pulsing outward into evolving geometric shapes.

Use it with real players

Real players can interact with the live canvas at any time by placing extra sea_lantern blocks onto any black_concrete tile (or breaking active tiles) to inject asymmetric seeds and watch completely new patterns emerge.

Remove it again 6 commands

  1. /kill @e[tag=c9_cell]
  2. /kill @e[tag=c9_init]
  3. /scoreboard objectives remove c9_t
  4. /scoreboard objectives remove c9_n
  5. /fill ~-7 ~ ~-7 ~7 ~ ~7 air
  6. /fill ~-7 ~-1 ~-7 ~7 ~-1 ~7 grass_block

FAQ

Why does it wait about 6 seconds after setup before moving?

During the first 121 ticks, a single invisible marker sweeps across the 11x11 canvas to spawn one cell marker per block. Once all 121 cells exist, the timer reaches 0 and the pattern begins evolving.

Can I change how fast the geometric patterns step?

Yes. In the second loop command, change matches 4.. to a smaller number like 2.. for faster generations, or a larger number like 8.. for slower, easier-to-follow steps.

Commands used

/execute/fill/kill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides