Timeline for Can you apply the Cellular Automata function to a grid containing numbers?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 8, 2014 at 21:26 | comment | added | Sophie | should be of the form aspec, {aspec, bspec}, or {{{aspec1, off1}, {aspec2, off2},... {aspecn, offn}}, bspec} (n > 0). Each aspec must be a non-empty rank 1 array whose elements at level 1 are integers i in the range 0 <= i <= 2. >> I am going over the cellular automata intial conditions details now but Im worried it wont accept my array which is essential that it remains as it represents the building layout. Any advice? | |
Jan 8, 2014 at 21:25 | comment | added | Sophie | CellularAutomaton::initn: The initial condition specification {{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},{1,0,0,1,5,2,2,0,2,2,0,0,2,0,2,1,2,0,0,0,2,0,2,2,2,0,1,2,0,0,2,0,1,0,0,1},{1,0,0,1,0,2,0,2,0,0,2,2,0,2,0,1,0,2,2,2,0,2,2,0,2,0,1,2,0,0,2,0,1,0,0,1},<<8>>,{1,0,0,1,2,2,2,2,2,2,2,2,2,2,0,1,2,2,2,2,0,2,2,2,2,0,1,0,2,0,2,0,1,0,0,1},{1,0,0,1,2,2,2,2,0,2,2,0,2,0,0,1,2,0,0,2,2,2,2,2,2,0,1,0,2,0,2,0,1,0,0,1},{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}} .... | |
Jan 8, 2014 at 21:25 | comment | added | Sophie | @Silvia, thank you all for your help I think from all your comments I have successfully computed my cellstates, neighbourhood and rules however when finally attempting to run the cellular automaton function I am getting this note.... | |
Jan 6, 2014 at 10:23 | comment | added | C. E.♦ | +1. I believe that to adapt it to the OP's problem all one has to do is use the corresponding pixel in the original matrix instead of the color black. It can be done easily for all methods. | |
Jan 6, 2014 at 6:44 | history | answered | Michael E2 | CC BY-SA 3.0 |