this is just the first part of a simulation project using colored square cells that sense the color of cells next to it. you can drag the square, so that the sensor dots are touching different colors, and click the square to change its colors. The variables are shown in the top-left corner.