Simulation of pattern formation.