The Gray Scott Simulator

The ‘Gray-Scott simulator’ allows for fast simulation and rendering of the Gray-Scott reaction-diffusion (RD) model. The Gray-Scott model is a simple system, inspired by the study of chemical processes. It exhibits a large variety of behaviours which can be studied using the present simulator. The Gray-Scott model is one of the archetypes of the fascinating “complex behaviour from simple model” paradigm pioneered by the great Alan Turing in his masterpiece paper “The chemical basis of morphogenesis” (1952).

The present simulator is based on the original code published on https://github.com/pmneila/jsexp. It simulates the time evolution of the spatial distributions of two interacting chemical concentrations u and v. The production and death rates of u,v can be adjusted by the user. Modifications of the code, made by Ebrahim Jahanbakhsh, include the addition of sliders that allow adjusting the values of the diffusion coefficients of u and v.

References

Gray P. and S.K. Scott. 
Autocatalytic reactions in the isothermal, continuous stirred tank reactor: Isolas and other forms of multistability.
Chemical Engineering Science 38, 29-43 (1983).


J. E. Pearson. 
Complex Patterns in a Simple System. 
Science 261, 189-192 (1993).

Alan Turing. 
The Chemical Basis of Morphogenesis. 
Philosophical Transactions of the Royal Society of London B. 237: 37-72 (1952).


The Simulator

Reaction diffusion system (Gray-Scott model)

This simulation requires the GL extensions framebuffer_object and texture_float. If you cannot see the simulation your system probably lacks at least one of these extensions.

In Google Chrome, you can see the available GL extensions going to chrome://gpu.