one dimensional cellular automata.
(for a bigger one click here).
example of a simple feedback system.
to be orange you have to agree with both your neighbours.
interesting place for the sierpinski gasket to show up.
click in the canvas with your mouse to reset.
press any key to toggle transparency on and off.
Source code: cellAutomata_2b
Built with Processing