Evolving Cellular Grid Simulation

An autonomous 25x25 cellular automaton on a flat board where hundreds of contrasting tiles birth, survive, and vanish in evolving geometric waves.

Java EditionComplex Contraptions & CinematicsMedium24 commandsTested on a real 26.2 & 26.3 server
An evolving cellular grid simulation blooms in cyan, blue, and magenta tiles across a dark square board. Download the GIF Video & GIF © www.9minecraft.net

SimulationsTechnologyMysticCyanBluePurpleLearningDecorationMini-gameBlock displaysBlock building (fill/setblock/clone)Rotation math21+ commands

Watch a living mathematical grid unfold across a 25x25 board of 625 contrasting floor tiles. Starting from a small cyan square at the center, a sweeping row of invisible scanner markers checks every tile's neighbors and paints upcoming births in light blue and fading cells in magenta before locking in each new generation.

With every pass, the pattern blooms into hollow rings, reflecting diamond waves, and shifting geometric labyrinths while cyan dust particles burst from transforming tiles beneath a glowing, spinning sea lantern core.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_n dummy
  2. /fill ~-13 ~-1 ~-13 ~13 ~-1 ~13 crying_obsidian
  3. /fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 black_concrete
  4. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 cyan_wool
  5. /summon marker ~-12 ~ ~-12 {Tags:["c9_row","c9_lead"]}
  6. /execute as @e[tag=c9_row] at @s run summon marker ~ ~ ~1 {Tags:["c9_row"]}
  7. /execute as @e[tag=c9_row] at @s run summon marker ~ ~ ~2 {Tags:["c9_row"]}
  8. /execute as @e[tag=c9_row] at @s run summon marker ~ ~ ~4 {Tags:["c9_row"]}
  9. /execute as @e[tag=c9_row] at @s run summon marker ~ ~ ~8 {Tags:["c9_row"]}
  10. /execute as @e[tag=c9_row] at @s if block ~ ~-1 ~16 black_concrete run summon marker ~ ~ ~16 {Tags:["c9_row"]}

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

  1. /scoreboard players set @e[tag=c9_row] c9_n 0
  2. /execute as @e[tag=c9_row] at @s if block ~-1 ~-1 ~ #minecraft:wool run scoreboard players add @s c9_n 1
  3. /execute as @e[tag=c9_row] at @s if block ~1 ~-1 ~ #minecraft:wool run scoreboard players add @s c9_n 1
  4. /execute as @e[tag=c9_row] at @s if block ~ ~-1 ~-1 #minecraft:wool run scoreboard players add @s c9_n 1
  5. /execute as @e[tag=c9_row] at @s if block ~ ~-1 ~1 #minecraft:wool run scoreboard players add @s c9_n 1
  6. /execute as @e[tag=c9_row] at @s unless block ~ ~-1 ~ #minecraft:wool if score @s c9_n matches 1 run setblock ~ ~-1 ~ light_blue_concrete
  7. /execute as @e[tag=c9_row] at @s if block ~ ~-1 ~ #minecraft:wool unless score @s c9_n matches 2..3 run setblock ~ ~-1 ~ magenta_wool
  8. /execute as @e[tag=c9_row] at @s unless block ~ ~-1 ~ black_concrete unless block ~ ~-1 ~ cyan_wool run particle dust{color:[0.2,0.9,1.0],scale:1.5} ~ ~0.25 ~ 0.15 0.35 0.15 0 3
  9. /execute as @e[tag=c9_row] at @s run tp @s ~1 ~ ~
  10. /execute at @e[tag=c9_lead] if block ~ ~-1 ~ crying_obsidian run fill ~-25 ~-1 ~ ~-1 ~-1 ~24 cyan_wool replace light_blue_concrete
  11. /execute at @e[tag=c9_lead] if block ~ ~-1 ~ crying_obsidian run fill ~-25 ~-1 ~ ~-1 ~-1 ~24 black_concrete replace magenta_wool
  12. /execute at @e[tag=c9_lead] if block ~ ~-1 ~ crying_obsidian as @e[tag=c9_row] at @s run tp @s ~-25 ~ ~
  13. /execute unless entity @e[tag=c9_core] run summon block_display ~ ~4.5 ~ {Tags:["c9_core"],Glowing:1b,glow_color_override:65535,Rotation:[0f,30f],block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f]}}
  14. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~5 ~

How it works

Frames from the test run

Evolving Cellular Grid Simulation - frame 1Evolving Cellular Grid Simulation - frame 2Evolving Cellular Grid Simulation - frame 3

Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: Across three frames, a dark square Minecraft grid bordered in crying obsidian displays evolving symmetrical patterns of cyan, light blue, and magenta blocks forming rings and diamond shapes.

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. Clear a flat 41x41 grass area and stand at the exact center block on top of the grass.
  2. Run each of the 10 setup commands in order from chat or impulse command blocks positioned at the stage center.
  3. Place 14 repeating (or 1 repeating followed by 13 chain) always-active command blocks pointing at the stage center with the 14 loop commands in order.
  4. Watch the 25 invisible row markers sweep across the board once every 25 ticks, turning cyan, light blue, and magenta tiles into evolving geometric patterns.
  5. To reset or try a different starting shape, pause the repeating command block, refill the 25x25 interior with black_concrete, place a new cyan_wool pattern, and reactivate the loop.

Use it with real players

You can interact with the live simulation directly in Survival or Creative by placing cyan_wool blocks onto empty black_concrete tiles to inject new gliders and asymmetrical seeds, or by breaking existing cyan_wool tiles back to black_concrete to carve walls and alter wave reflections in real time.

Remove it again 4 commands

  1. /kill @e[tag=c9_row]
  2. /kill @e[tag=c9_core]
  3. /scoreboard objectives remove c9_n
  4. /fill ~-13 ~-1 ~-13 ~13 ~-1 ~13 grass_block

FAQ

Why does the grid use light blue concrete and magenta wool while scanning?

Those two blocks act as an in-place double buffer: magenta wool stays in the <code>#minecraft:wool</code> tag so neighboring columns still count it as alive until the sweep finishes, while light blue concrete stays out of the tag so newborn cells do not affect the current generation.

How does the setup summon 25 row markers in only six commands?

Starting from one marker at Z -12, each command uses <code>/execute as @e[tag=c9_row]</code> to summon a copy offset by +1, +2, +4, +8, and finally +16 where the floor is still <code>black_concrete</code>, giving exactly 25 markers.

Commands used

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

Similar creations

Join 9Minecraft News & Guides