@neauoire are you by any chance aware of some work doing “useful” computation with cellular automatons?

@aartaka @neauoire

Now I want to look that up.

@aartaka @neauoire

wikipedia

In the 1980s, Stephen Wolfram engaged in a systematic study of one-dimensional cellular automata, or what he calls elementary cellular automata; his research assistant Matthew Cook showed that one of these rules is Turing-complete.

I find that interesting. They also cover toroidal cellular automata which are actually easier to define the rectangular cellular automata.

part1

#math #CellularAutomata

@aartaka @neauoire

part 2

von Neumann came to realize the great difficulty of building a self-replicating robot

Again interesting.

Ulam and von Neumann created a method for calculating liquid motion in the late 1950s.

Are there 3 dimensional cellular automata? n dimensional?

Also in 1969 computer scientist Alvy Ray Smith completed a Stanford PhD dissertation on Cellular Automata Theory, the first mathematical treatment of CA as a general class of computers.

@aartaka @neauoire

part 3

The Game of Life can emulate a universal Turing machine.

Biology
Several biological processes or phenomena can be simulated using cellular automata.

Chemistry
The Belousov–Zhabotinsky reaction is a spatio-temporal chemical oscillator that can be simulated by means of a cellular automaton.

Physics
Probabilistic cellular automata are used in statistical and condensed matter physics to study phenomena like fluid dynamics and phase transitions.

Fascinating

@aartaka If I am welcomed to interject, I would reconnon things like map generation for games fits this bill. Only the first thing that immediately comes to mind.

@neauoire

@andnull you are most welcome to interject with this nice suggestion! But isn’t map generation usually noise-based?

@neauoire

@aartaka I was thinking about some applications in using it to generate mazes, or carving out naturalistic spaces and applying multistate CAs. Things like Markov Junior.

If we broaden things, CAs can be model as rewriting rules in 2D space. @noa has done some cool work here and has even show cased whole games. Now that I am recalling more examples, a very direct example is pong with CAs

@neauoire

GitHub - mxgmn/MarkovJunior: Probabilistic language based on pattern matching and constraint propagation, 153 examples

Probabilistic language based on pattern matching and constraint propagation, 153 examples - mxgmn/MarkovJunior

GitHub
@aartaka depending on how broad "useful" is, all of the work done by Loren Schmidt. Her ethos is all about letting the CA reveal itself to you and letting it guide your design process https://bsky.app/profile/lorenschmidt.bsky.social
loren schmidt (@lorenschmidt.bsky.social)

i make art, mostly with computers. currently working on an open world RPG with roguelike roots and an experimental bent. cat mom. she / her or they / them.

Bluesky Social
@aartaka @neauoire systolic arrays are quite widely used
@aartaka if by "useful" you mean that it can compute in general then examples from the top of my head are:
- wire world, as seen on xxiivv;
- rule 110, apparently;
- wang tiles.
@kapunta I don’t necessarily mean the automata being able to compute _anything_, but rather _something_. Say, a sum of two numbers. That’s already quite good of a result, though I expect there to be more “useful” stuff than that.
@aartaka @neauoire i think path finding algorithms on a grid can count as CAs.
@aartaka what do you have in mind by useful?
@neauoire like getting some information out of it. Calculating numbers, getting an image, proving a theorem.

@aartaka if midi information as output is valid, and you consider orca a CA, then I'd say yes, it's very useful. It's likely the most efficient UX in terms of density for livecoding beating 1d textual representation. And it allows for the encoding of data in a very dense way.
https://llllllll.co/t/orca-livecoding-tool/17689/2296

Someone else mentioned wireworld which works the same way, if you use the edge of the world as IO
https://www.youtube.com/watch?v=m5kT47US7ek

Neural nets are not too far from cellular automata too, only they don't map to a rigid grid. But for tasks that aren't sequential, or can be distributed, CA are very efficient, think of Green Arrays for example.
https://wiki.xxiivv.com/site/neural_nets.html

You can also consider the memory model behind BQN and APL as CA, as state changes on memory is applied non-deterministically.
https://mlochbaum.github.io/BQN/commentary/why.html

Orca - Livecoding Tool

@rRr No, you don’t need to change, they both have pretty much feature parity in terms of basic operators. Pick whichever you feel most comfortable using. Tic Tac Toe Tic Tac Toe(using Vacuum’s lock-picking pattern) Bad Apple In an incredible tour de force, @vacuumbeef implemented Bad Apple in Orca A tiny extra omiindustriies figured out that the default B behavior is actually a XOR, and that M is a AND gate.

lines

@neauoire the experiments with making a Turing machine in orca were definitely on my mind! And neural networks merge with CAs inti neural CAs, so yeah, it’s there.

Thanks for the reference!

@neauoire @aartaka

am not neauoire, but in my experience cellular automata is very useful for simulating physical processes

aside from the usual falling sand stuff, I've also used it to simulate cloud formation
code: https://codeberg.org/notchoc/deluge-domain/src/branch/main/cloudsim/main.tal
sim: https://codeberg.org/notchoc/deluge-domain/src/branch/main/cloudsim.rom
result: https://codeberg.org/notchoc/deluge-domain/src/branch/main/Clouds.rom

quite a few papers on the topic if you're interested ^^

deluge-domain/cloudsim/main.tal at main

deluge-domain - rain world demake for varvara

Codeberg.org
(Butting into this because I would be interested to know)

I need to read more of A New Kind Of Science (terrible name, incredible diagrams), its got some interesting cellular automatons used to approximate physics

For example, this one used to model crystal growth...
@aartaka Probably not really what you meant, but have you already seen Conway’s Game of Tetris? Does it count as “useful”? https://codegolf.stackexchange.com/questions/11880/build-a-working-game-of-tetris-in-conways-game-of-life
Build a working game of Tetris in Conway's Game of Life

Here is a theoretical question - one that doesn't afford an easy answer in any case, not even the trivial one. In Conway's Game of Life, there exist constructs such as the metapixel which allow th...

Code Golf Stack Exchange
@normalmode I’ve also seen Turing machine built in GoL! And yeah, that does fall under “useful” to me!