Reaction Diffusion simulation of Gray-Scott model. Gray-Scott equations are partial differential equations that model the time evolution of three reacting and diffusing chemical species [1]. Their ability to generate beautiful patterns that resemble naturally observed patterns makes them interesting.
[1] John E. Peterson, Complex Patterns in a Simple System, Science 261, 189 (1993).
Parameters used to generate the above patterns U_DIFF = 0.2, V_DIFF = 0.1, SIZE = 256, DT = 1
- FEED = 0.049, KILL = 0.06
- FEED = 0.048, KILL = 0.066
- FEED = 0.042, KILL = 0.062
After installing the dependincies, just run make
PS: This code is a work in progress and is written only for educational purpose.