Implement a Cellular Automaton ? "Rule 110"
- by ZaZu
I was wondering how to use the Rule 110, with 55 lines and 14 cells. I have to then display that in an LED matrix display.
Anyway my question is, how can I implement such automaton ??
I dont really know where to start, can someone please shed some light on how can I approach this problem ?
Is there a specific METHOD I must follow ?
Thanks
--PROGRAM USED IS - C
EDIT
char array[54][14];
for(v=0;v<55;v++){
for(b=0;b<15;b++){
if(org[v][b-1]==0 && org[v][b]==0 && org[v][b+1] == 0)
{
array[v][b]=0;
}
array[v][b]=org[v][b];
}
}
Does that make sense ?? org stands for original