Skip to content

sachu92/gray-scott-rd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published