News: Check out the originating "3d Mandelbulb" thread here

## The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!

 Pages: [1]   Go Down
 Author Topic: Melting Cellular Automata  (Read 2960 times) Description: Continuous state variables base cellular automata. 0 Members and 1 Guest are viewing this topic.
fractower
Iterator

Posts: 173

 « on: March 17, 2012, 03:50:03 PM »

The recent posts on cellular automata have inspired me to dig up some work I had done on continuous variable cellular automata. The goal was to investigate phase changes. It turned out the math is a bit intractable, but the pictures are interesting. I used the standard 1D CA with 3 inputs per daughter state. The initial step is much like that proposed by kram1032 http://www.fractalforums.com/general-discussion-b77/probability-based-fuzzy-cellular-automata/. Instead of using the polynomials for stochastic updates, I performed a sum of powers followed by a tanh to produce the final value.
Code:
a = state[i+1];
b = state[i];
c = state[i-1];
if(rule&1)  E = E+pow((1-a)*(1-b)*(1-c),power);
if(rule&2)  E = E+pow((1-a)*(1-b)*(c  ),power);
if(rule&4)  E = E+pow((1-a)*(b  )*(1-c),power);
if(rule&8)  E = E+pow((1-a)*(b  )*(c  ),power);
if(rule&16) E = E+pow((a  )*(1-b)*(1-c),power);
if(rule&32) E = E+pow((a  )*(1-b)*(c  ),power);
if(rule&64) E = E+pow((a  )*(b  )*(1-c),power);
if(rule&128)E = E+pow((a  )*(b  )*(c  ),power);
next_state[i] = tanh(E*beta);

This gives two free variables to play with. In the limiting case where both power and beta are large the original discrete CA is recovered. Interesting things happen when power and beta are in the 2-4 range. The CA tends to melt into another phase that is not present in the discrete CA.

The first simulation result uses rule 105. 105 has a stable chaotic phase as well as a few stationary but unstable phases. For example an alternating all 1s and 0s phase and a polka doted phase. With the proper parameters a third melted phase is introduced. The melted phase tends to yield to the alternating phase. The alternating phase yields to the chaotic phase. And finally the melted phase tends to invade the chaotic phase from the sides. (Time flows from the bottom up.)

The next two images use rule 94 and 179. These two rules tend to produce boring low entropy phases, but the addition of a melt creates a chaotic battle between the boring phase and the melted phase.

 105_b3.0_p2.4.jpg (173.27 KB, 600x600 - viewed 619 times.)  94_b4.0_p2.2.jpg (103.41 KB, 600x600 - viewed 651 times.)  179_b4.0_p4.0.jpg (202.47 KB, 600x600 - viewed 592 times.) Logged
jehovajah
Global Moderator
Fractal Senior

Posts: 2749

May a trochoid in the void bring you peace

 « Reply #1 on: April 24, 2012, 03:47:41 AM »

Reminds me of moisture patterns on the window.

`my recent thinking is around the natural process of dividing not only the effect, but also the process. Thus Cellular Automata show the development of that type of ruled behaviour, line by line. The final images are therefore "sideways on", and to see the ppossible 3d growth patterns in the real world would need  rules the control the 3rd dimension.

As a play around, try to map the rules in one plane against the rules in an orthogonal plane and plot the resultant 3d points. Once you have figured out how to do that then us independent rules  to see what you get . The complication is in seeing the slices as time slices. You may have to chose one axis for time and aooly the rule along a line 2 dimensionally. The distribution then becomes a function of space, and you will have to think carefully about how that should be represented as changing in time.

My suggestion would be to re enter a finished image into the same rule process..
 Logged

May a trochoid of ¥h¶h iteratively entrain your Logos Response transforming into iridescent fractals of orgasmic delight and joy, with kindness, peace and gratitude at all scales within your experience. I beg of you to enrich others as you have been enriched, in vorticose pulsations of extravagance!
 Pages: [1]   Go Down