Red material is deposited from the top toward the bottom. This deposit is allowed to stick only to the top of the black substrate or to the top of the red deposit. White cells embedded in the black substrate's surface represent defects in that substrate and are not allowed to fill. The yellow cells represent a second substrate that manifests its own neighbor-dependent growth when exposed.
Activation energy, bond strength, charging, diffusion, and thermal effects are not considered in the computation—vacant site deposition is based on neighborhood configuration rules alone.
Each execution/reload of this Demonstration initializes the surface to a different configuration; moving the slider maintains the current surface configuration.
Use the control variable "timesteps" to control how long the entire process is allowed to continue.