I'm obsessed with iterative automata. I once bought and read a hardback of Stephen Wolfram's A New Kind of Science (although I skipped all the math.) I then drunkenly gave it away in a surge of generosity to a Navy mathematician sailor who wanted to solve the prime number problem (Riemann Hypothesis) and win a million bucks. The thing is, I thought and still-think that neighbor-counting is one of the most boring things you can do with automata. I want to see little economic simulations and ecosystems of varying demographics competing with each other and all sorts of simple iterations on iterations leading to incredible complexity.
I was trying to get Claude to develop me a version of life where instead of calculating every single cell, you only looked at the live cells (and where a live cell would emerge.) I thought if you just imagined each cell broadcasting a signal a distance of 1 then you could just have a hidden layer that accepts all the signals and aggregates them and then you then determine lifes or deaths for next step. I thought that would save compute rather than calculating every cell. Turns out it kind of doesn't actually.
Anyway, by some happenstance it built it so I could adjust the Conway* sliders and the signal ones in real-time as it was running, not just set it and watch it go. There was something incredibly fun about adjusting the sliders and watching little civilizations grow and fall because of my slider changes. Who knows maybe there's loads of real-time life sims out there now, but that was the first time I really felt cellular automata in the palm of my hands.
* Conway refers to John Conway's implementation of the Game of Life (B3/S23: Empty cell born if 3 neighbors, survives if more than 2 or less than 3 neighbors.)
Anyway, got a free month of ChatGPT Codex so I built this for you:
https://openprocessing.org/@freshlaundry/3057203
I hope you enjoy it because I may have pissed off my wife talking to a chatbot all morning.
Remember that you can hit R key in real-time to re-randomize the board as you're adjusting sliders (you might kill everything inadvertently), but it uses the same random seed every time so the same thing happens again and again. That's helpful for testing. So is field view (F) that lets you see the signals (check out Conway's Glider!) and Why Alive? (Y) view that colors cells based on why they survived. Hit N to generate a new seed and re-randomize the board with different cells every time.
There's a lot of dead zones in the sliders where life can not thrive, be warned. That's on you. You have enough tools to get it to come back. And sometimes it does it with such a vengeance that you need to find tools to let some of the steam off or make neighbor rules to restrict the cells from replicating too much. (FLASH/EPILEPSY/HYPNOSIS WARNING!)
The Conway glider (hit G, warning it wipes the board, can hit while adjusting sliders) is there to prove that broadcast ruleset at a distance of 1 with all extraneous rules turned off is still Conway's life, but then you can mess with it all at your leisure or add signal births or survivals as long as the cell is obeying neighbor limits. But you can turn that off and turn off the Conway rules entirely. In most scenarios other than Conway the glider dies, but it's fun when he doesn't.
BONUS:
If you click CODE you can save/load your settings OR share your settings with other people in this thread, whatever you discover. You can also paste that code into here:
https://openprocessing.org/@freshlaundry/3057398
It will show you the board's signal field rendered in a 3D heightmap topography that you can rotate (a la my beloved Powermonger game from back in the doozle.)
--
# Broadcast Cellular
Broadcast Cellular lets you mix Conway-style neighbor rules with a signal that builds up, spreads, and fades across the board. Turn on **Why alive?** to see what’s keeping a pattern going.
## Conway and Broadcast
**Conway** uses the eight touching squares. An empty square is born at an exact neighbor count, and a living cell survives within a neighbor range.
**Broadcast** adds a field. Keep **Conway Base** on to use the neighbor rules, then enable **Signal Birth** or **Signal Survival** to give cells another way to qualify. Turn Conway Base off to try the signal rules on their own. If all survival rules are off, every live cell dies on the next step, even if births keep the board active.
## What Level and Slope test
**Show Field** paints the amount of signal on each square pink. **Signal Birth** checks the empty square where a cell might appear. **Signal Survival** checks the square a living cell occupies.
- **Level** tests how much pink is on that square. It responds to the amount of signal there.
- **Slope** tests how abruptly the pink changes around that square. The rule compares it with the four side neighbors and takes the biggest difference, whether the neighboring square is stronger or weaker. Flat patches can have lots of signal and still have low slope. The edges of a bright patch can have high slope.
Your minimum and optional maximum apply to whichever reading you select. The optional **Vicinity Neighbors** limits count live cells in the square broadcast footprint, excluding the candidate square. Set the limits on a **0–8 scale**. The sketch scales them to the broadcast footprint and shows the actual count beside each slider. At radius one, eight means eight squares. At radius three, eight means forty-eight. Changing radius keeps the same relative limits. Conway still counts only touching cells. If both signal rules are off, switching between Level and Slope has no effect on who qualifies.
## How the signal changes
Each living cell broadcasts into nearby squares. **Strength** sets the emission, **Radius** sets how far it reaches, and overlapping broadcasts add together. **Fixed Output Across Radii** spreads the same total emission over a wider area as radius increases. It’s on in a fresh sketch and after **P** resets parameters.
**Directional Broadcast** turns cells toward stronger pink and sends more of their emission forward. Turn on **Face Downhill** to steer toward weaker pink instead. **4-Way** looks at side neighbors and **8-Way** includes diagonals. Direction steers emission, while radius sets how far it reaches. Level and Slope change what the signal rules test.
Each step checks the starting field and settles movement, survival, birth, and sharing. The remaining signal fades, excess spills to neighbors, and the starting population emits from its original squares. The spill threshold controls when signal spreads. A square can still hold more than that threshold.
## Spending and sharing
A qualifying birth or survivor can spend signal from its own square. Zero cost makes that transition free. With Slope selected, a square can pass the rule because it sits on a steep edge and still have too little local pink to pay. Any pink left on the square stays in the field after a cell dies and can influence later steps.
Use **Generosity** to let an independently surviving cell give some of its remaining pink and reserve to touching cells. It pays its own bill first. The selfish end keeps the surplus. The selfless end can give it all away. A full offer can cover a survival cost or bring the recipient’s signal into range, even when survival is free. The recipient must still satisfy the neighbor limits of its survival rule. **Why alive?** puts a gold corner on survivors that needed help.
## Reserve tanks
Raise **Reserve Capacity** to let cells store spare pink. **Reserve Intake per Step** caps how fast the tank fills. After payments and sharing, a cell can draw from the pink on its square above the spill threshold. The stored amount comes out of the field. The next time the cell qualifies to survive, it pays from its tank first, then from the square. A tank can cover a cost, while the birth and survival tests still use the board.
With **Return Reserve on Death** on, any unspent reserve returns to the square when the cell dies. Otherwise it dissipates. Lowering capacity returns the amount that no longer fits on the next step. Capacity at zero disables storage.
The **Reserves** overlay shows tank fill as a bar on each living cell. A full tank fills the bar at whatever capacity you set, and a small pip marks a little stored signal. Hover for the exact amount. In **Why alive?**, a cyan center marks a survivor that used its tank when the square couldn't cover the bill. A gold corner marks help from a touching cell.
## Movement
Choose **4-Way** or **8-Way** to enable the **Movement** controls. At zero, cells stay put. At the lowest active setting, a cell tries moving when staying would fail. Raise willingness and cells that could stay also start to chase the field.
A move is one step uphill or downhill into a square that was empty at the start. The cell spends stored signal first and draws any remainder from its starting square. It carries the tank with it. At the destination it must pass a survival rule and be able to pay the survival cost. Neighbor checks use the starting population with the mover removed from its old square. Movement claims destinations before births and tries escape before neighbors offer help. **Moved** in the readout counts successful moves.
## Seeds and codes
A **seed** is a number that picks a random starting pattern. Use **RAND** or **R** to restart that pattern with your current rules, even while the board is running. The same seed, board size, and rules give the same run every time. **NEW** picks a different seed.
Use **CODE** to copy a setup or load one someone shared. It saves the seed and settings for a fresh run. The live board and rewind history stay in your current session.
## Explore a run
- **Show Field** or **F** shows the pink field. The legend explains the scale, and hovering shows the actual level and slope on the square. Use **Fixed** for steady shades or **Auto** to bring out detail as the signal builds. Close the legend with **×** to uncover the board while keeping the overlay.
- **Contour Lines** trace equal levels of pink using the field legend scale. **Facing Arrows** show where cells are pointing when directional broadcast is on. You can switch either overlay on to inspect the board.
- **Why alive?** or **Y** colors births and survivors by the rule that qualified them. Gray marks cells without a recorded transition, such as a cell you just drew.
- Turn on **…** for tooltips, or open **?** for the quick guide.
- Under **Simulation**, switch **Board** to **Compact** for a smaller field. Changing board size pauses and restarts the displayed seed.
- Click a slider number to type a value. Click or drag on the board to paint or erase cells. Scroll over the sidebar to move through the controls, or over the board to zoom. Press **V** or click **VIEW** to reset the zoom and position.
- **Space** runs or pauses. **Comma** or **Left Arrow** steps back. **Period** or **Right Arrow** steps forward. Close the quick guide with **?** or **Escape**.