FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Website, Reference, Example Bugs
(Moderator: REAS)
   Cellular Automata 1 bug
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Cellular Automata 1 bug  (Read 1590 times)
The.Lucky.Mutt


Cellular Automata 1 bug
« on: Feb 3rd, 2005, 8:46am »

There is a mistake in the cellular automata 1 code, I'm not sure if this one has been mentioned, but line 29
 
if (world[x][y][1] == 1)
 
needs to be
 
if ((world[x][y][1] == 1) || (world[x][y][1] == 0 && world[x][y][0] == 1))
 
This will let the cells that didn't change but were still 'on' show. Which they do not do now.
 
REAS


WWW
Re: Cellular Automata 1 bug
« Reply #1 on: Apr 16th, 2005, 10:13am »

Are you sure about this? I've changed it for the next release...
 
Casey
 
Pages: 1 

« Previous topic | Next topic »