Chemical diffusion

Many simulations require a model of chemical diffusion. Diffusion demonstrates diffusion of three differently-coloured chemicals (red, green and blue) across a grid of cells. The user can place chemicals using the mouse. In this simulation, the chemicals do not react with each other.