question:
I am trying to do the following-
when one pattern finishes, it checks the state of the other running patterns
(say, through a global dictionary, or array, or some other sort of common
structure) and then decides to play another pattern sequence based off of
that. (think of cellular automata)
I've been reading the documentation and going through the forums, but I
haven't yet found a way to trigger a function at the end of an instance of a
pattern. Anyone have any ideas or tips how to achieve this?
The easiest way to do this is to link them into a single pattern. You could use Psym to pull the subpatterns out of a dictionary, or something like this to use a two-dimensional matrix: