Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.05 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.05 KB

Gray-Scott simulator

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.

More about Gray-Scott model

[1] John E. Peterson, Complex Patterns in a Simple System, Science 261, 189 (1993).

Typical patterns

Pattern 1 Pattern 2 Pattern 3

Parameters used to generate the above patterns U_DIFF = 0.2, V_DIFF = 0.1, SIZE = 256, DT = 1

  1. FEED = 0.049, KILL = 0.06
  2. FEED = 0.048, KILL = 0.066
  3. FEED = 0.042, KILL = 0.062

Dependencies

Compilation

After installing the dependincies, just run make


PS: This code is a work in progress and is written only for educational purpose.