Skip to content

Teitei011/Gray-Scott

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reaction diffusion

Reaction–diffusion systems are mathematical models which correspond to several physical phenomena: the most common is the change in space and time of the concentration of one or more chemical substances: local chemical reactions in which the substances are transformed into each other, and diffusion which causes the substances to spread out over a surface in space.

Equation

How to compile

g++ -std=c++17 -Wall -Wpedantic -Wextra -O2 Gray_Scott.cpp -o GrayScott.exe

How to use

./GrayScott.exe  <D_a> <D_b> <Food> <Kill> <Resolution> <Iterations> <filename>

Variables that you can try

D_u D_v F k Output 0.2 0.1 0.02 0.048 0.2 0.1 0.03 0.0545 0.2 0.1 0.03 0.06 0.2 0.1 0.01 0.05 0.2 0.1 0.02 0.06

A better explanation

https://www.youtube.com/watch?v=alH3yc6tX98

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages