Ohh I managed to recreate this! the only issue is that from the very beginning all the particles are 'fighting' each other so it reaches the looped status pretty fast.. my approach is kind of slow, as in traversing a matrix of squares.. how do you determine the points where the interaction starts? (I mean, from the beginning only small areas are interacting, the others are kind of 'dormant')
@zubieta I don't set any special interaction points. But not every run comes out as nice as this one. Some of them devolve to the "demon" state pretty quickly. I also traverse a matrix of cells with a few tricks to make processing faster. Pointer math and processing one row at a time help a lot.
@zubieta I just start with a randomized rectangle with 16 states. If I recall I'm just using the standard C function rand() to generate the initial state. I think I still have the source code if you still have more questions. Since you found my LJ post about this you can see the link with the rules for your own version.
Ohh I managed to recreate this! the only issue is that from the very beginning all the particles are 'fighting' each other so it reaches the looped status pretty fast.. my approach is kind of slow, as in traversing a matrix of squares.. how do you determine the points where the interaction starts? (I mean, from the beginning only small areas are interacting, the others are kind of 'dormant')
zubieta 2 months ago
@zubieta I don't set any special interaction points. But not every run comes out as nice as this one. Some of them devolve to the "demon" state pretty quickly. I also traverse a matrix of cells with a few tricks to make processing faster. Pointer math and processing one row at a time help a lot.
kd7lah 2 months ago
How did you generate the initial state? (all those spread colors)
What are the rules?
This is very awesome!
zubieta 2 months ago
@zubieta I just start with a randomized rectangle with 16 states. If I recall I'm just using the standard C function rand() to generate the initial state. I think I still have the source code if you still have more questions. Since you found my LJ post about this you can see the link with the rules for your own version.
kd7lah 2 months ago
Cool!
kjlg74 1 year ago
@kjlg74 Thanks!
kd7lah 1 year ago