cell Vectorial:Cellular Automata cell cell Cellular Automaton Description Plugin opcode in cellular One-Dimensional Cellular Automaton. This opcode is the modified version of vcella by Gabriel Maldonado. Syntax cell ktrig, kreinit, ioutFunc, initStateFunc, iRuleFunc, ielements Initialization ioutFunc -- number of the table where the state of each cell is stored. initStateFunc -- number of the table containing the inital states of cells. iRuleFunc -- number of a lookup table containing the 8-bit rule. ielements -- total number of cells in a row. Performance ktri -- trigger signal. Each time it is non-zero, a new generation of cells is evaluated. kreinit -- reset signal. Each time it is non-zero, state of all cells is forced to be that of initStateFunc. cell models a classical 1D cellular automaton and stores the state of each cell in the table identified by ioutFunc. initStateFunc is an input vector containing the inital value of the row of cells, while iRuleFunc is an input vector containing the chosen rule in the binary form (least significant bit first). A new generation of cells is evaluated each time ktrig contains a non-zero value. Also the status of all cells can be forced to assume the status corresponding to the contents of initStateFunc each time kreinit contains a non-zero value. Note that each cell is supposed to be in one of two possible states (1 = "alive", 0 = "dead"), although fractional values should work too, because truncation is used. Examples Here is a simple example of the cell opcode. It uses the file cell.csd. A simple example of the cell opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See Also Models and Emulations Credits Author: Gleb Rogozinsky October 2011 New in Csound version 5.16.6