Background:
I've been attempting to create 'smart shapes' to generate an automaton. Down the road, I will enhance the automaton in various ways, e.g., associating sound with each, maybe motion, different algorithms, etc., etc. But for starters, I want to just do a simple Proof of Concept based on the game of LIFE.
In LIFE, each object looks at the output from his 8 neighbors, adds them up, applies a rule, then generates its own output. This iterates over time, generating complex interactions that look a little too much like amoebae in a petri dish.
More on LIFE here, for those not familiar with it:
http://www.math.com/students/wonders/life/life.html
Here's my bug:
The input from the 8 neighbors does not seem to be getting summed properly. I can confirm the individual outputs are OK. But any given input does not seem to be the sum of its 8 neighbors.
Why are my 8 inputs not getting summed correctly? Can someone take a peek & tell me what I'm doing wrong?
http://www.sensomusic.com/forums/upload ... =LIFE4.zip
Notes:
Open the Life 4.pat. (Lifepatch-v2.pat is invoked by Life 4.pat, & does not run on its own.)
The 'Gen' button propagates the Lifepatch-v2 shapes, & should be done first. Turn the audio engine OFF before pressing Gen. DO NOT press the GEN button with the audio engine on. Yes, I need to do the generation process during idle time. Not there yet, this is just an early proof of concept - to help me figure out if this can work at all...
It's important to turn the audio engine back on after Gen completes.
The 'Init' button generates random input.
The 'Cycle' button performs one iteration thru the process. Later I will tie this to the Master Sync, but for debugging purposes, I have a button. Since summing doesn't work as desired, the 'Cycle' button basically always blanks the screen out. This is what I'm trying to fix...
Yes, it's awfully fun to change the # of rows & columns and let this baby fly. See pic below...
Shawn


